我們使用Fusetools來構建一個應用程序。使用uno build --target=ios --configuration=Release
命令,我們爲應用程序生成一個新的myapp.xcodeproj
文件。設置Xcode自動簽名爲false,並設置提供配置文件和證書與fastlane匹配和健身房
當我在Xcode IDE中手動打開.xcodeproj
時,我看到選中了Automatically manage signing
複選框。然後,我們使用Fastlane匹配獲取證書並在Xcode中手動選擇Appstore證書。這一切工作正常。
現在我們嘗試使用無提示構建過程使用CI提供程序(如Bitrise)來構建此應用程序。然後一切都停在同一點。我們的.xcodeproj
已選擇Automatically manage signing
複選框。
我們中fastfile看起來是這樣的:
```disable_automatic_code_signing(路徑: 「../myapp.xcodeproj」)
match(git_url: "[email protected]:MyRepo/match.git", app_identifier: "com.myapp.myapp", type: "appstore", readonly: true)
gym(
workspace: "myapp.xcworkspace",
scheme: "MyApp",
export_method: "app-store",
xcargs: "PROVISIONING_PROFILE_SPECIFIER='match AppStore com.myapp.myapp'"
)
```
在我們Fastfile
我們試着首先禁用自動簽名,在健身房 - 通過參數xcargs: "PROVISIONING_PROFILE_SPECIFIER='match AppStore com.myapp.myapp'"
在生成之前設置配置文件。
我再從Bitrise CI顯示器得到這樣的:
Code signing is required for product type 'Application' in SDK 'iOS 10.3'
我可以,如果在本地運行試圖自動簽名設置爲false,做同樣的複製本。
有什麼想法?