I'm working on a Mac-Catalyst app. It needs to access some of the AppKit Classes so I integrated a macOS Bundle to accomplish that(reference blog post: https://medium.com/better-programming/how-to-access-the-appkit-api-from-mac-catalyst-apps-2184527020b5), and it works fine except it won't let me upload the app to the Appstore. When I try to upload the app XCode throws me an error:
ERROR ITMS-90283: "Invalid Provisioning Profile. The provisioning profile included in the bundle com.XXX.MacPlugin [com.XXX.XXXX.pkg/Payload/XXX.app/Contents/PlugIns/MacPlugin.bundle] is invalid. [Invalid 'com.apple.application-identifier' entitlement value.] For more information, visit the macOS Developer Portal."
I tried uploading the build removing this plugin and it worked, but with this Plugin it won't work.
Related
I have a react-native app where build are automatic using appcenter. It was working before i update to react-native 0.62.2 (i was on 0.61.2 before).
I have this error :
Code Signing Error: "gamefare-dev" requires a provisioning profile with the Associated Domains and Push Notifications features. Select a provisioning profile in the Signing & Capabilities editor.
Code Signing Error: Code signing is required for product type 'Application' in SDK 'iOS 13.4'
I checked my certificate and redo all the upload and generation of .p12 and .mobileprovision file and still the same error.
Here is a screenshot of my associated certificate in apple developer portal :
Any clue on how i may be able to solve that problem ? Building and shipping using xcode locally work.
It appear that automatic signin in xcode can mess up things.
What i did to solve the problem was to do manual signin (untick automatic signin in Xcode) and choose directly the right .mobileprovision and load the certificate on my mac.
This will change some stuff in your .xcodeproj file. Publish them to your git repo.
Verify by trying to publish to appstore/testflight from your mac. When working, upload the exact same file .mobileprovision in Appcenter and the certificate from your mac keychain (.p12)
Relaunch the build and it should now work.
I have followed OneSignal's setup instructions for React Native, but
When I try to upload app to TestFlight I get the following error 'No profiles for 'com.myapp.ios.OneSignalNotificationServiceExtension' were found'
My XCode is 10.0.
Anyone help me? Thanks in advance.
Below instructions assume that your app is building and you have successfully deployed TestFlight builds in the past (since that is where I started from). I had to use the below as "Automatically manage signing" resulted in a build fail in Xcode 10:
Go to https://developer.apple.com/account/ios/profile
Click "+' to create a new provisioning profile
Choose the type of provisioning profile you want (I went with App Store since I use TestFlight builds to test)
for App ID choose "XC YOUR_DOMAIN_APP_ID OneSignalNotificationServiceExtension" and make sure enable the App Groups capability
after you have downloaded the provisioning profile, go into Xcode, turn off automatically signing on the OneSignalNotificationServiceExtension target in General tab and import the provisioning profile you just downloaded.
Use Product > Archive as usual to create your ipa file for App Store upload as usual
I'm getting the same error on appcenter. You can temporarily workaround this problem if you create a new provision file for the OneSignalNotificationServiceExtension identifier and sign your OneSignalNotificationServiceExtension with this provision.
(Your app provision should be different. your app -> com.app.example)
I am learning NativeScript Vue and trying to transition from the online Play to Sidekick. I have gone thru the documentation:
Code Signing
Run App on Device
Here are the steps I have done thus far:
Created a paid Apple Developer account (don't really intend on selling on the app store but you never know, right?)
Created a Development Certificate
Downloaded the development certificate (ios_development.cer) to ~/Downloads
Created a Development Provisioning Profile
Downloaded the provisioning profile (xxx.mobileprovision) to ~/Downloads
Updated to the latest version of NativeScript as per these instructions
Opened my downloaded Play project in NativeScript Sidekick
Connected my iPhone 8+ to my Macbook Pro
In the Connected Devices section, updated the Provisioning and Certificates with the downloaded profile but I could not add the certificate generated above, but only with one created when I made my Apple Developer account.
If I do a local build then I get:
[18-10-25 07:15:27.576] Build failed. ENOENT: no such file or
directory, scandir '/Users/xxx/Library/MobileDevice/Provisioning
Profiles/'
Selected my attached iPhone and clicked "Run on Device" to get the error:
[18-10-25 07:01:26.078] Error detected during LiveSync on
716bd55f99272ba6acb7af3dfb3ce5d079a40ba5 for
/Users/xxx/projects/private/xxx. Error: ENOENT: no such file or
directory, scandir '/Users/xxx/Library/MobileDevice/Provisioning
Profiles/'
So this seems like a certificate/provisioning issue but I am uncertain what I am doing wrong. I do see that my Sidekick General settings "Application Identifier" has a warning ("This value should match the App ID of your iOS provisioning profile) but I do not see how to fix that in either Sidekick or Apple Developer and am not sure that is the root of these problems.
I guess you might have forgot to add your device id to developer portal and include same in provisional profile while creating.
My watchkit app is working ok when I run it with the wildcard developer profile. When I run it with distribution profile, the Watch app says :
Failed to authenticate. I have then gone on to build unique Bundle IDs for each app. Then updated the Provisioning Profiles to use the new Bundle IDs. When I try to build again it is still not installing the watchkit App.
I do not see any logs pertaining to this error in the devices window. I have tried switching the "Skip Install" to no for the watchkit app target. Here is a screenshot of the error.
Use Xcode 8 where provisioning is done automatically and should finally let you stop worrying
I've been building an app for the last couple of months that also has a Today Extension. Running this on my iPhone has always worked great. Until today, that is.
I keep getting Failed to code sign "App Extension" None of the valid provisioning profiles include the devices: myiPhone.
I've tried creating new provision profiles and deleting then adding the UDID to my account again. Also, clicking Fix issue doesn't help. It just says that it can't fix it.
Nothing worked. It's only the extension that's throwing this error. Any ideas?
You need to create app ID and provisioning profile for app extension.
need to make App ID for app extension in developer portal.
create 2 provisioning profile for host app and app extension.
sign app with app provisioning file and sign app extension with extension provisioning profile.
Good luck