Currently I'm using Ionic Framework and trying to build an iOS mobile App. In order do that I did the following steps:
To add the platform,
$ ionic cordova platform add android
2.To build the app
ionic cordova build ios -- --buildFlag="-UseModernBuildSystem=0"
After it successfully generated .xcodeproject file, I imported the file into Xcode.
After importing the project, cleaned the project folder in xcode itself.
Then I added the Apple ID account to my Xcode.
After adding the account I'm trying to archive the project, in order to do that I checked the following URL's
Official Documentation to generate the IOS app
Stackoverflow answer to .ipa file.
In the Archiving process I'm getting the following error:
error: Your development team, does not support the Push Notifications capability. (in target 'folder')
I tried to rectify it in the following way:
DISABLE_PUSH_NOTIFICATIONS=1
in the preprocessor macros. Unfortunately it didn't solve my problem.
I don't have any Apple developer ID
How to solve this problem, in order to archive the project? Could any one help me in this regard?
I tried all the solutions which are available solutions but they didn't solve any answer. I am stuck since the past 2 days.
Are you using any plugins that require push notifications?
See ios push notification development on free apple account.
It is not possible to use push notifications without a paid Apple Developer ID.
If not,
Try removing and adding the ios platform again.
Related
I've been developing an iOS apps that implements some C++ libraries which are later converted into .dylibs in order for iOS devices to be able to run the app. I can run the app in any iOS device without any problem. I also can archive a development .ipa and test the app in other's people devices.
The problem that I'm having is when I submit the app into app store connect in order to test it using TestFlight and be able to distribute it into the app store. I'm getting the following errors when submitting it:
TMS-90426: Invalid Swift Support - The SwiftSupport folder is missing. Rebuild your app using the current public (GM) version of Xcode and resubmit it.
TMS-90424: Invalid Swift Support - The SwiftSupport folder is missing. Rebuild your app using the current public (GM) version of Xcode and resubmit it.
I have tried some solutions, including the ones suggested in here: https://developer.apple.com/library/archive/technotes/tn2435/_index.html#//apple_ref/doc/uid/DTS40017543-CH1-TROUBLESHOOTING-BUNDLE_ERRORS
I'm not sure if I'm correctly implementing the libraries into the project. I did what the link said, which is embedding the libraries into frameworks, but that didn't solve the error. I would like to know if there is any tips or solutions to what I'm doing to see if I'm doing it right or if I can take another path to solve the problem.
Make sure you build and export using an official release of Xcode, and not any Beta version.
Have you tried contacting Apple support for some insight into the problem you're having?
I have created a react-native app using the tools - VS Code, expo, react-native.
I am able to run the app on expo client as well as xcode simulator easily on my laptop. What I want now is to make a distributive file for iOS like we have .apk for androids for this app.
I referred to this question How to build .ipa application for react-native-ios?
and tried
react-native run-ios --configuration=release
but I get an error:
Error iOS project folder not found. Are you sure this is a React Native project?
Don't know what I am missing here? I am a beginner with react-native, would really appreciate any help on this.
You have to run expo build:ios that will then ask you your account and certificates, once you have all that figured out it will give you a link where you can see how the build is doing, after it's complete you can download the .ipa file and use the app transporter from the app store to send you app to apple servers.
(All this if you are using expo, if you aren't it's a hole different conversation and a lot more difficult)
I created a mobile game for IOS with unity and opened the .xcodeproj file with xcode. Next I want to get this game working on my iPhone.
I found this video helpful:
How to Build a Unity Game to iOS
But still receive two errors:
Your development team, "myname", does not support the In-App Purchase capability.
No profiles for 'com.myname.gamename' were found: Xcode couldn't find any iOS App Development provisioning profiles matching 'com.myname.gamename'.
I cannot find the solution online and leaving the bundle identifier black does not work either. The bundle ids are the same in unity and xcode.
EDIT: I disabled the in-app-purchase capability and that solved these errors.
I still have this one:
library not found for -lGTMSessionFetcher
I never used this library in my code, so it must come from unity or xcode. How can I include the library in my project at this point?
This is the answer that also solved my problem. Library not found for -lGTMSessionFetcher
Basically you must not open the .xcodeproj file but the .xcworkspace file instead
I have released many enterprise builds for my project and for new version, I have used Vuforia SDK for AR functionality. While I am creating Enterprise build with Distribution certificate and profile (by which I have released many versions), I cannot able to generate IPA and getting following error in Xcode:
I had copied Vuforia.framework from their demo provided and used it's functionality in my existing project and all is working fine in iPad.
Any help will be appreciated..
I disabled bitcode and it could create a build without any issue.
I am trying to build my Cordova project for an iOS. I have borrowed a mac and an iphone in order to do this; meaning I am very new to everything apple-related.
From what I understand: in order to build anything for iOS, I need some sort of apple developer-account. (I believe the mac I am using has one, not quite sure.)
When I try to run the command: cordova run ios I get the following error:
Check dependencies
Code Signing Error: No profiles for 'io.cordova.hellocordova' were found: Xcode couldn't find any iOS App Development provisioning profiles matching 'io.cordova.hellocordova'. Automatic signing is disabled and unable to generate a profile. To enable automatic signing, pass -allowProvisioningUpdates to xcodebuild.
Code Signing Error: Code signing is required for product type 'Application' in SDK 'iOS 11.2'
I don't know what any of the above means, or how to solve it. I believe I have to use xcode to somehow automatically created a build.json file (not sure), but I don't know how to open my cordova project in xcode.
I have been using Sublime to edit my cordova project files, and the terminal to use the cordova cli. I am running xcode 9.2
From what I understand: in order to build anything for iOS, I need some sort of apple developer-account. (I believe the mac I am using has one, not quite sure.)
If that is true, then you can try the following:
cordova build ios
open platforms/ios/<my-app-name>.xcworkspace
This will open the app in Xcode. Click on the icon (left hand side, above the directory structure view) "General" and check "Automatically manage signing". Try to run the app in Xcode.
Check this website for reference (and a picture of where to click in Xcode): http://cordova.apache.org/docs/en/7.x/guide/platforms/ios/index.html
As mentioned by #Dev_Tandel, you need to have a apple dev acct to run your app in a device. Refer link to get more info: https://developer.apple.com/support/certificates/