Jav*_*ano 6 iphone objective-c ios fastlane
我们正在使用 fastlane 将 iOS 应用程序部署到 Fabric。该应用程序针对不同的环境有两个不同的应用程序标识符。
update_app_identifier(
xcodeproj: 'app.xcodeproj',
plist_path: './app/Info.plist',
app_identifier: bundleIdentifier
)
ipa = gym(
scheme: 'app',
export_method: 'enterprise',
project: 'app.xcodeproj',
output_name: "app.ipa"
)
Run Code Online (Sandbox Code Playgroud)
bundleIdentifier变量通过方法 arg 传递。
project.pbxprojiOS 项目使用第一个应用程序标识符 ( )上传到存储库com.test.example1,我们尝试部署以构建一切顺利。fastlane beta用那个填充标识符。
如果我们尝试使用 进行部署fastlane live,它会尝试生成带有 的版本com.test.example2。完成构建阶段并尝试对其进行签名后,它会抛出以下错误:
error: exportArchive: Provisioning profile "match InHouse com.test.example2" doesn't match the entitlements file's value for the application-identifier entitlement.
Error Domain=IDEProfileQualificationErrorDomain Code=8 "Provisioning profile "match InHouse com.test.example2" doesn't match the entitlements file's value for the application-identifier entitlement." UserInfo={IDEProfileQualificationError_Profile=<DTDKProvisioningProfile www: UUID: wwwwww, name: match InHouse com.test.example2, team: w12w12, platform: iOS>, NSLocalizedDescription=Provisioning profile "match InHouse com.test.example2" doesn't match the entitlements file's value for the application-identifier entitlement.}
Run Code Online (Sandbox Code Playgroud)
查看该pbxproj文件,我发现该应用程序标识符com.test.example1仍然保留在那里。似乎没有改变,我认为这就是权利的问题。
有人有同样的问题吗?
谢谢!
| 归档时间: |
|
| 查看次数: |
671 次 |
| 最近记录: |