dambakk
05/29/2024, 6:19 AMerror: No profiles for 'MyApp.iosApp.iosApp' were found: Xcode couldn't find any iOS App Development provisioning profiles matching 'MyApp.iosApp.iosApp'. Automatic signing is disabled and unable to generate a profile. To enable automatic signing, pass -allowProvisioningUpdates to xcodebuild. (in target 'iosApp' from project 'iosApp')
I started a new project in XCode and made sure that signing and deploying to device works there, so now the question is; How do I configure provisioning profiles with Amper? Or should I make my iosApp
module into a project that can be opened in XCode and set it up from there?
I'm not an ios developer, so I'm sorry if this is a very basic question (but hopefully it can help other beginners in the future 🥲)dambakk
05/29/2024, 6:19 AMproduct: ios/app
dependencies:
- ../shared
settings:
compose: enabled
ios:
teamId: "myteam"
framework:
basename: "myapp"
Alexander Tsarev
05/29/2024, 10:02 AMapple {
targets.named("iosApp") {
buildSettings.apply {
CODE_SIGN_IDENTITY("")
custom("CODE_SIGNING_REQUIRED", "NO")
}
}
}
And then sign built application manually before deploying, that will be located in build/bin/<module-name>/
Alexander Tsarev
05/29/2024, 10:03 AMAlexander Tsarev
05/29/2024, 10:04 AMdambakk
05/29/2024, 10:22 AMdambakk
05/29/2024, 11:25 AMthis.buildSettings.apply {
PRODUCT_BUNDLE_IDENTIFIER("no.agens.myapp")
CODE_SIGN_IDENTITY("Apple Development")
PROVISIONING_PROFILE_SPECIFIER("XC no agens myapp")
}
and the error:
error: No profile for team 'Christopher Dambakk (Personal Team)' matching 'XC no agens myapp' found: Xcode couldn't find any provisioning profiles matching 'Christopher Dambakk (Personal Team)/XC no agens myapp'. Install the profile (by dragging and dropping it onto Xcode's dock item) or select a different one in the Signing & Capabilities tab of the target editor. (in target 'iosApp' from project 'iosApp')
Do you have any suggestions on what to try next? Do you know of an example code base with Amper that managed to install a signed build on a real device?Anton Prokhorov
06/06/2024, 1:58 PMPRODUCT_BUNDLE_IDENTIFIER
dambakk
06/07/2024, 5:15 AMdambakk
06/11/2024, 1:40 PMPRODUCT_BUNDLE_IDENTIFIER
be? Same as the root package name, or something else?Alexander Tsarev
06/11/2024, 1:42 PMAnton Prokhorov
06/11/2024, 1:48 PMWhat should the value ofTry just different than you had before (be? Same as the root package name, or something else?PRODUCT_BUNDLE_IDENTIFIER
MyApp.iosApp.iosApp
), like any arbitrary value