hey24sheep / azure-flutter-tasks

Easily build and deploy with latest Flutter build tasks for Azure DevOps Pipelines Tasks
https://marketplace.visualstudio.com/items?itemName=Hey24sheep.flutter
MIT License
89 stars 22 forks source link

Getting No profile found on Xcode build task/ Flutter task #85

Closed AkshiptaMarico closed 1 year ago

AkshiptaMarico commented 1 year ago

Error_Msg while Xcode build

error: No profiles for 'com.xxxx.xxx' were found: Xcode couldn't find any iOS App Development provisioning profiles matching 'com.xxxx.xxx'. Automatic signing is disabled and unable to generate a profile. To enable automatic signing, pass -allowProvisioningUpdates to xcodebuild. (in target 'Runner' from project 'Runner')
/Users/runner/work/1/s/claimautomation/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 15.2.99. (in target 'flutter_local_notifications' from project 'Pods')
/Users/runner/work/1/s/claimautomation/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 15.2.99. (in target 'FMDB' from project 'Pods')
/Users/runner/work/1/s/claimautomation/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 15.2.99. (in target 'device_information' from project 'Pods')
/Users/runner/work/1/s/claimautomation/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 15.2.99. (in target 'Toast' from project 'Pods')

Result bundle written to path:
    /var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/flutter_tools.r7jTid/flutter_ios_build_temp_dirsU3tQ5/temporary_xcresult_bundle

Error (Xcode): No profiles for 'com.xxxx.xxx' were found: Xcode couldn't find any iOS App Development provisioning profiles matching 'com.xxxx.xxx'. 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 archiving for device.

AkshiptaMarico commented 1 year ago

Even if we install provisioning profile installation task/ plugin

hey24sheep commented 1 year ago

Hi, this issue has been asked and closed multiple times here.

Sometimes the issue gets fixed when you delete old profiles and create new ones then you have bind them in XCode and build once locally. You can try doing that.

Unfortunately there is no single solution to this issue. So, I can't help you much here. The issue is from your XCode configuration and setup.

Only Google search or StackOverflow can fix the problem.

Go through these links where we have addressed this

This below one is the same issue and have fixed solution.

I hope this fixes your problem. I am closing this issue as it's not related to this extension and has been asked and solved here multiple times. Feel free to ask ask on old issues (in case you can't fix the problem).