Почему мой RN 61 IOS не удается собрать в AppCenter? - PullRequest
1 голос
/ 14 октября 2019

У меня есть приложение RN 0.61.2, которое успешно создалось в прошлом> 55 в Центре приложений, но в настоящее время оно не будет собираться в AppCenter. Я продолжаю получать сообщения о том, что не удается найти файлы Pod.

Я попытался запустить Pod Install. Удаление всех модулей, а затем их переустановка. Вот пример моего файла Pod

platform :ios, '9.0'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'

target 'ABAPortal' do
  pod 'FBLazyVector', :path => "../node_modules/react-native/Libraries/FBLazyVector"
  pod 'FBReactNativeSpec', :path => "../node_modules/react-native/Libraries/FBReactNativeSpec"
  pod 'RCTRequired', :path => "../node_modules/react-native/Libraries/RCTRequired"
  pod 'RCTTypeSafety', :path => "../node_modules/react-native/Libraries/TypeSafety"
  pod 'React', :path => '../node_modules/react-native/'
  pod 'React-Core', :path => '../node_modules/react-native/'
  pod 'React-CoreModules', :path => '../node_modules/react-native/React/CoreModules'
  pod 'React-Core/DevSupport', :path => '../node_modules/react-native/'
  pod 'React-RCTActionSheet', :path => '../node_modules/react-native/Libraries/ActionSheetIOS'
 // Sample from my Pod File
end

Пара моих многочисленных ошибок. Все связаны с моим подфайлом.

[command]/usr/bin/xcodebuild -workspace /Users/vsts/agent/2.158.0/work/1/s/ios/ABAPortal.xcworkspace -scheme ABAPortal archive -archivePath /Users/vsts/agent/2.158.0/work/1/output/build/archive/ABAPortal CODE_SIGN_STYLE=Manual
User defaults from command line:
    IDEArchivePathOverride = /Users/vsts/agent/2.158.0/work/1/output/build/archive/ABAPortal

Build settings from command line:
    CODE_SIGN_STYLE = Manual

note: Using new build system
note: Planning build
note: Constructing build description
Build system information
error: /Users/vsts/agent/2.158.0/work/1/s/ios/Pods/Target Support Files/boost-for-react-native/boost-for-react-native.xcconfig: unable to open file (in target "boost-for-react-native" in project "Pods") (in target 'boost-for-react-native')

Build system information
error: /Users/vsts/agent/2.158.0/work/1/s/ios/Pods/Target Support Files/FBLazyVector/FBLazyVector.xcconfig: unable to open file (in target "FBLazyVector" in project "Pods") (in target 'FBLazyVector')

Редактирование на случай, если у кого-то еще есть эта проблема. Если у вас уже есть папка Pod в вашем проекте. AppCenter не будет запускать установку pod. Так что у вас могут быть проблемы.

...