Why am I unable to build the IOS app, I made - ios

I am trying to build an Flutter Ios App, and when I run "flutter build ios", I get an error like
error: No profiles for 'com.runin.carrick' were found: Xcode couldn't find any iOS App Development provisioning profiles matching 'com.runin.carrick'. Automatic signing is disabled and unable to generate a profile. To enable automatic signing, pass -allowProvisioningUpdates to xcodebuild. (in target 'Runner' from project 'Runner').
When I go to Xcode I go to Signing and Capabilities and there is 2 messages, It says I should plug in an IOS device, but I do not have one, is it required?
https://prnt.sc/uk7fi7
I already have a Paid Apple Developer Account.

I found a way to do it without a mobile device, if you do to the Apple Developer website you can, create certificates but you have to use manual signing though.

Related

my flutter build ipa fail with profile on vs code

I try to do flutter build ipa and I received this error:
Error (Xcode): No profiles for 'com.example.middeyapp' were found:
Xcode couldn't find any iOS App Development provisioning profiles
matching 'com.example.middeyapp'. Automatic signing is disabled and
unable to generate a profile. To enable automatic signing, pass
-allowProvisioningUpdates to xcodebuild.
For context, that is not the real build id of the app.
I have created an Identifier already for the app and I still receive this error, I was given an enrolled account to login on my Xcode butI don’t why I'm still receiving this error.
You need to check this:
Open Runner.xcodeproj in the XCode (ios) folder.
Check that these fields filled:

Create provisioning profile for apple built in flutter

Im trying to deploy an IOS app developed on flutter but im with this error and I can't find any solution that solve this problem. Can someone help me?
The error that appears on flutter is this, when I try to build:
"Error (Xcode): No profiles for 'com.example.cfca' were found: Xcode couldn't find any iOS App
Development provisioning profiles matching 'com.example.cfca'. Automatic signing is disabled and
unable to generate a profile. To enable automatic signing, pass -allowProvisioningUpdates to
xcodebuild.
It appears that there was a problem signing your application prior to installation on the device.
Verify that the Bundle Identifier in your project is your signing id in Xcode
open ios/Runner.xcworkspace
Also try selecting 'Product > Build' to fix the problem.
Encountered error while building for device."
enter image description here
The solution is adding a device on "Certificates, Identifiers & Profiles". This is only for those that didn't test the app on real device, throw XCode. In my case, since I don't have an IPhone, I asked someone with IPhone to send me the Device ID (UDID) from that phone and added on Apple Development portal. This is the solution that I recommend for those that don't want to by an IPhone.

Xcode Check Dependencies Error: OneSignalNotificationServiceExtension requires a provisioning profile

I am brand new to Xcode but paid for GoNative to turn our web app into a native mobile app. When following the instructions on GoNative and using the OneSignal extension I am getting the following error when I try to Archive the app or when I click Play button to test. I looked in the project editor and I can't seem to find how to get around this error. I have my iOS certs in xcode but don't know how to add the provisioning profile to the dependency.
Error:
OneSignalNotificationServiceExtension requires a provisioning profile.
Select a provisioning profile for the "Debug" build configuration in
the project editor. Code signing is required for product type 'App
Extension' in SDK 'iOS 10.3'
UPDATE:
When selecting Onesignal as target I have the following selected (no option for automatic)
Go to your Xcode Settings -> General and observe targets like this. Select OneSignalNotificationServiceExtension target and checkmark automatic sign in if you did same for main app also. Otherwise, select provisioning profile related to your app.
The Same solution is given in GoNative Support. Check it out: GoNative Support

iOS AppUITests - Code signing is required for product type 'UI Testing Bundle' in SDK 'iOS 10.2'

I am developing an iOS app. When i am running Tests/UITests with Command + U from Xcode, Build is failed with the below error. All of my targets provisioning profiles and certificates are okey, except i put Don't Code Sign for AppUITests target. Is there any way to run full unit & ui tests without profiles, for example on simulator?
Error:
To run uitest on real device, different profile is required to configure as uitest target runs on different process as different app.
For simulator, developer provisioning profile is ok. But if you want to run ui tests on real devices, you need separate developer provisioning profile.

iOS8 Dynamic Frameworks -> CodeSign error: code signing is required for product type 'Framework' in SDK 'iOS 8.3'

I am using the iOS8 Dynamic Frameworks that I build myself and link within my iOS app. It was working fine in the simulator and on device, but when trying to archive a Release build for it, I keep getting this error:
Code Sign error: No matching provisioning profiles found: None of the valid provisioning profiles allowed the specified entitlements: com.apple.developer.ubiquity-kvstore-identifier, keychain-access-groups, com.apple.developer.icloud-container-identifiers, com.apple.developer.icloud-services, com.apple.security.application-groups, com.apple.developer.ubiquity-container-identifiers.
CodeSign error: code signing is required for product type 'Framework' in SDK 'iOS 8.3'
Within the app target -> Build Phases -> Embed Frameworks -> the framework is linked there, and "Code Sign on Copy" checkbox is checked.
Within the framework target -> Build Settings -> I have set Provisioning Profile to "Automatic", and for Code Sign Identity, under Release, I am using "iOS Distribution"
I have 3 different app targets that need to build off this Framework.
I'm confused:
does the framework need it's own AppID registered in the Developer Center?
does the framework need it's own Provisioning Profile?
can the framework use the same Entitlements file from the iOS app target?
Thanks.
I had the same problem but fixed it by:
Setting the team to None in the General tab of the target settings.
Changing this value seems to also reset the code signing params in the build settings, to 'iOS Developer' for both debug and release. If it doesn't then change these params yourself.
I can now build my framework with no errors.
The newly built framework can be checked for signing by entering codesign --display --verbose=4 FRAMEWORK_PATH into the terminal.
This tool should return: code object is not signed at all
The framework does not need its own app ID registered in the developer center, provisioning profile, or entitlements. I have an app on the app store that contains an app target, a today extension target, watch extension targets, and a framework target for shared code.
I was encountering this issue with a second app I was attempting to setup a build for, and I was able to resolve it by changing the signing for my framework to use automatic settings instead of "Don't Code Sign" (iOS Developer identity / Automatic profile). This causes the error to go away and the framework still seems to be resigned during the archive as one would expect. It seems that some build settings are required, even if it is just going to resign.
EDIT: It's worth mentioning that once you set it to automatic, you must also have a provisioning profile installed that is appropriate for the bundle id set for the targets being built (a wildcard development profile should suffice).

Resources