英文:
CodeMagic xcode-project use-profiles failure
问题
我尝试使用 CodeMagic 构建 iOS 应用程序
scripts:
- name: 安装依赖项
script: |
yarn install
- name: 安装 CocoaPods 依赖项
script: |
cd ios && pod install
- name: 在 Xcode 项目上设置配置文件设置
script: |
sudo gem install xcodeproj
sudo xcode-project use-profiles
- name: 为分发构建 IPA
script: |
xcode-project build-ipa \
--workspace "$CM_BUILD_DIR/ios/$XCODE_WORKSPACE" \
--scheme "$XCODE_SCHEME"
但我遇到了以下问题:未能为 node_modules/react-native-fast-image/ios/FastImage.xcodeproj 设置代码签名设置。它发生在这一步:
sudo xcode-project use-profiles
英文:
I try to build an ios app with codeMagic
scripts:
- name: Install dependencies
script: |
yarn install
- name: Install CocoaPods dependencies
script: |
cd ios && pod install
- name: Set up provisioning profiles settings on Xcode project
script: |
sudo gem install xcodeproj
sudo xcode-project use-profiles
- name: Build ipa for distribution
script: |
xcode-project build-ipa \
--workspace "$CM_BUILD_DIR/ios/$XCODE_WORKSPACE" \
--scheme "$XCODE_SCHEME"
But I have this: Failed to set code signing settings for node_modules/react-native-fast-image/ios/FastImage.xcodeproj. It happens at this step:
sudo xcode-project use-profiles
答案1
得分: 1
使用以下代码解决此问题:
xcode-project use-profiles --project ios/*.xcodeproj
英文:
To anyone having this issue use this
xcode-project use-profiles --project ios/*.xcodeproj
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论