我正在尝试构建一个本机反应项目。
我有此ios的配置文件
platform :ios do
desc "Submit a new Build to Apple TestFlight"
desc "This will also make sure the profile is up to date"
lane :alpha do
cert
sigh
increment_build_number(xcodeproj: './ios/Myapp.xcodeproj')
gym(scheme: "Myapp", project: './ios/Myapp.xcodeproj')
pilot(skip_submission: true)
end
end
Fastlane成功下载证书(.cer)和配置文件(.mobilevision)
然后将证书放入~/Library/MobileDevice/Provisioning\ Profiles/
\
但是当我尝试构建应用程序时,出现此错误
error: No profiles for 'com.myapp' were found: Xcode couldn't find any iOS App Development provisioning profiles matching 'com.myapp'. Automatic signing is disabled and unable to generate a profile. To enable automatic signing, pass -allowProvisioningUpdates to xcodebuild. (in target 'Myapp')
我知道这有很多问题,但是我无法使其正常工作。
在ios / MyApp / Info.plitst中
我有这行:
<key>CFBundleIdentifier</key>
<string>com.myapp</string>
,在个人资料中,我确实有以下内容:
<key>application-identifier</key>
<string>teamid.com.myapp</string>
它与teamid有关系吗?
谢谢