gomobile build is a simple go mobile tool to build app, it is easy to build ios / android app cross platform, but can gomobile build an app (ios/android) to be published on the App Store or Google Play?
Here is a document to show how to publish go build app on Google Play.
However, there is no document on how to publish an app on the App Store
how to do this, is it possible ?
I tried on appstore, it reports
ERROR ITMS-90161: "Invalid Provisioning Profile. The provisioning profile included in the bundle com.company.app [Payload/App.app] is invalid
First you need to create a runnable apk file using gomobile toolset.
Given that you have gomobile initialized and NDK installed
gomobile build -target=android -v -o=myApp.apk path/to/your/goProject
Or install directly into your phone (to test out first) with
gomobile install .....
If you use gomobile build, you may have to first sign your app using either jarsigner or android studio
Then follow instructions from Google to finally publish into appstore
There is an example Gomobile project on Github for more info
Related
I'm working on a flutter project and I want to build the IPA of my code using windows. I don't want to test the application in my windows I want just to build the IPA. Is it possible to do it. Any help is highly appreciated.
The only way to generate an IPA from you windows machine is by using a CI/CD service like Codemagic using the steps described in this article:
link your repository (Github, BitBucket , or Gitlab).
from settings > build for platforms > IOS
change the .app file you received to .zip and extract it.
You will find a file called Runner.app, put in a folder and compress it back.
change the extension from .zip to .ipa.
And here's your first IOS build without a Mac device.
You cannot build a flutter iOS app directly from Windows. What you can do is use external tools to do it. One of these tools is Appollo (https://github.com/Appollo-CLI/Appollo). It's a python CLI tool that let you access remote MacOS build machines.
Here is a demo of how to create the IPA on windows : https://www.youtube.com/watch?v=ZX3DAMwlEfM&t=11s
It's pretty easy to use :
First install it
pip install appollo
Then setup your Apple Developer account with Appollo : https://appollo.readthedocs.io/en/master/tutorial/2_configure_app_store_connect.html
Finally you can build the app and retrieve the IPA
appollo build start --build-type ad-hoc
appollo build ipa
And that's it.
so I just finished a Flutter mobile app and I want to install on my personal iPhone. I know about the 7 days restriction, but buy an apple dev account for 99$/year was a bit too much for me so I used an external service. You pay them a lil bit of money and give them your iPhone's udid and they give you back the certificate and provisioning profile files and you can use an external signer to sign your apps. I have already done this for an app of mine a few month ago. But now I'm struggling with generating the ipa.
How can I generate the ipa file with the free apple account?
He again, so the way to generate an unsigned flutter ipa is by first going to Xcode and changing the build configuration of the scheme to Release :
Click on Runner, and Edit scheme
Select Release for the Build Configuration of the Run schema
And then on the terminal in Android Studio run the following command :
flutter build ios --release
This will take a minute or two and when it's done go to this folder : your-app/build/ios/Release-iphoneos and you should find your runner.app file. Create a folder named PayLoad next to it and copy and paste the runner.app file inside this folder. After that you wanna compress your Payload to get a new file named Payload.zip. Change its extension to ipa and you're done.
You can now use whatever you want to codesign this ipa file.
I am starter of flutter.
I finished building my first app and I want to export ipa app to give my friends.
I don't want to release to apple app store, I just want to use myself(and my friends).
So, once I input flutter build ios (also i tried flutter build ios --debug ) ,
Running "flutter pub get" in mighty_v2... 4.0s
Building com.example.mightyV2 for device (ios-release)...
Automatically signing iOS for device deployment using specified development team in Xcode project: 66H5V644W9
Running pod install... 2,370ms
Running Xcode build...
Xcode build done. 5.3s
Failed to build iOS app
Error output from Xcode build:
↳
** BUILD FAILED **
Xcode's output:
↳
note: Using new build system
note: Building targets in parallel
note: Planning build
note: Constructing build description
error: No profiles for 'com.example.mightyV2' were found: Xcode couldn't find any iOS App Development provisioning profiles matching 'com.example.mightyV2'. Automatic
signing is disabled and unable to generate a profile. To enable automatic signing, pass -allowProvisioningUpdates to xcodebuild. (in target 'Runner' from project
'Runner')
above error was founded.
I already know what is wrong. My problem is, do not enrolled apple developer, and do not enrolled my app profiles init.
So question is, do I have to enroll and give 100$? I just use this app myself although the app is debug mode. I just want light ipa file. What can I do?
It can be two things. First you need to create a iOS App Development provisioning profile,to create that click on Xcode at top of the screen beside apple logo then > preferences > accounts here you will find you apple id and below that you will see download manual profiles and manage certificate options. Create a profile here and clean the build folder then build again.
Second, if you have the provisioning profile and still won't be able to create the .ipa file from Product > Archive then you definitely need a developer account.
You do not need to have a developer account if you are not publishing. However, you will have to open your app in Xcode and go to the Signing & Capabilities tab under Runner to set a Team in order to build. This can be any Apple ID.
Using this method, you will not be able to just send the .ipa to your friends and them easily install it. You will need to push to their phones via Xcode.
I encourage you to checkout Firebase App Distribution as a much easier, free alternative to distribute your app to your friends if you do not want to publish yet.
I made an app for me and my friends and I don't intend on publishing it on the app store, it's easy to build the apk file for android and send it to them but some have iPhones. Is it possible to build the IPA without an apple dev account, macOS and all those certificates?
I would install it with cydia impactor and renting a mac server to do the build is no problem.I read the post on flutter.dev but it's overwhelming for what I want to do.
It's possible to create an unsigned iOS .ipa without code signing or Apple Developer account.
Run the Flutter app first to an iOS simulator to generate iOS build on /build/ios.
Create a folder anywhere you like with
the name Payload - note that this is case sensitive.
Navigate
to /build/ios/iphonesimulator and copy Runner.app to the
Payload folder you've created.
Compress the Payload folder with
default .zip format
Rename Payload.zip to Payload.ipa
I have a Visual Studio Apache Cordova project and successfully published on Android Google Play. However, I have been struggling to find out how to publish it to "Apple App Store".
"remotebuild" to Mac system and successfully running on debugging deivce (iPhone).
But not able to deploy with release mode of "Remote Device" (Build is successful)
Requesting deploy on remote iOS device for buildNumber 2765 on server https://remote-address:3000/cordova...
2>Failed to deploy iOS remote for build C:\PathToProject\bld\ios\Release\buildInfo.json to https://remote-address:3000/cordova :
2>Http 404: Installation failed: Check your provisioning profile
2>
2>Failed to deploy iOS remote for build C:\PathToProject\bld\ios\Release\buildInfo.json to https://remote-address:3000/cordova :
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
========== Deploy: 0 succeeded, 1 failed, 0 skipped ==========
Which I have already downloaded the Provisioning / Certificate for both Development and Distribution and configured to XCode --> Preference --> Accounts --> Apple ID and Signining Identities.
I tried to verify the .ipa file generated by "remotebuild" using command line as below
codesign -v name.ipa
Saying
code object is not signed at all
I also tried to code sign manually (How to manually re-sign an IPA) but still saying that "code object is not signed at all"
"PhoneGap Build" also did not work
My questions are
Is there any way to configure the provisioning and certificate for iOS in Visual Studio Apache Cordova project?
Do I have to convert this Visual Studio Apache Cordova project to PhoneGap Project and load it on XCode and build with code sign?
Please help me to find a way to publish it on Apple App Store.
You follow the same steps you would for any other app you publish to iTunes app store. You need to open the Xcode project file created by Cordova in Xcode. You set the correct provisioning profile in Xcode then perform an archive (note the current target needs to be an actual device, not the simulator).
After the archive is created you will be given the option to validate it. Once it is validated you will be given the option to upload to it iTunes connect. Note you need to setup everything in iTunes Connect before doing this. You need to create your app id, any certificates, etc...