Журнал ошибок
СБОРКА ОШИБКА
Не удалось выполнить следующие команды сборки:
CompileC /Users/runner/Library/Developer/Xcode/DerivedData/raurauAdmin-gztdyzcynucaikdocaqdcfvsvqqd/Build/Intermediates.noindex/Pods.build/ Release-iphoneos/RCT-Folly.build/Objects-normal/arm64/json.o/Users/runner/work/1/s/ios/Pods/RCT-Folly/folly/json.cpp Normal Arm64 C++ com.apple. compilers.llvm.clang.1_0.compiler (в цели «RCT-Folly» из проекта «Pods»)
Подфайл находится ниже
Подфайл и Конфигурация CI yaml
Вот соответствующий раздел моего подфайла и моего CI yaml:
platform :ios, '12.0'
pod 'Firebase', :modular_headers => true
# other pods...
post_install do |installer|
installer.generated_projects.each do |project|
project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS'] = 'NO'
end
end
end
end
**CI YAML Pipeline Configuration**
trigger:
- main # Trigger the pipeline on changes to the main branch
variables:
- group: 'New variable group 12-Sep' # Link to variable group for shared variables
- name: System.Debug
value: true # Enable debug logging for detailed output
jobs:
- job: Build_iOS
displayName: Build iOS App
pool:
vmImage: macos-latest # Use the latest macOS image available
steps:
- checkout: self
fetchDepth: 1 # Fetch only the latest commit for faster checkout
# Node.js setup to use the specified version
- task: NodeTool@0
displayName: 'Setup Node.js'
inputs:
versionSpec: '18.x' # Use Node.js version 18.x
# Install dependencies using Yarn
- task: Yarn@3
displayName: 'Install dependencies'
inputs:
verbose: false
# Clean Xcode derived data to ensure a clean build environment
- task: Bash@3
displayName: 'Clean Derived Data'
inputs:
targetType: 'inline'
script: rm -rf ~/Library/Developer/Xcode/DerivedData/*
# Install CocoaPods dependencies
- task: CocoaPods@0
displayName: 'Install CocoaPods'
inputs:
forceRepoUpdate: true
cwd: ios # Execute in the ios directory
# Perform a clean build to remove any previous build artifacts
- script: |
xcodebuild clean -workspace ios/raurauAdmin.xcworkspace -scheme raurauAdmin -configuration Release
displayName: 'Clean Build with Xcode'
# Build the iOS application
- task: Xcode@5
displayName: 'Build iOS IPA'
inputs:
configuration: Release
sdk: iphoneos
xcWorkspacePath: 'ios/raurauAdmin.xcworkspace'
scheme: 'raurauAdmin'
useXcpretty: true
packageApp: true
# Note: Additional steps for archiving, exporting the IPA, or deploying the build to a service like TestFlight or App Store can be added here.
Подробнее здесь: https://stackoverflow.com/questions/790 ... -react-nat
Мобильная версия