Ionic build ios --release build fails results in Error code 65


#1

In order to release your app for production and submit to the app store do you need to do ionic build ios --release?
I’ve done ionic build ios and uploaded it to testflight and itunes connect through xcode in the past without issue in order to test.
Is that way still ok for the final production version to submit to the store or must it be the release command?

When I do ionic build ios --release I get this error, no error with ionic build ios?

The following build commands failed:

Ld build/My\ App.build/Release-iphonesimulator/My\ 
App.build/Objects-normal/i386/My\ App normal i386
(1 failure)

Error: Error code 65 for command: xcodebuild with args: -
xcconfig,/Users/me/desktop/app/platforms/ios/cordova/
build-release.xcconfig,-project,My App.xcodeproj,-target,My App,-
configuration,Release,-sdk,iphonesimulator,-destination,platform=iOS 
Simulator,build,CONFIGURATION_BUILD_DIR=/Users/me/desktop/
 app/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/me/
desktop/app/platforms/ios/build/sharedpch

#2

Did you get this figured out? What version of Ionic were you running?


#3

I have been getting this same issue. I’m running Ionic 3.0.1 and ionic-app-scripts v1.3.4

Andrew


#4

It’s time the devs create a Ionic3 forums.


#5

I think this is a horrendous idea, that would only perpetuate the myth that “Ionic 2” and “Ionic 3” are actual things. The sooner that notion goes away, the better.


#6

@rapropos
As for me, and still see some Ionic 2 components unworkable (some totally, unusable for x or z reason) while coding, my humble say is that it should be separated now in different forums, simply to have a clearer view of what is working or not which each build version. (it’s just a practical thing for me and people, already when you search in google you often get on Ionic 1 results that have more or less nothing to do with the Ionic 2 code).
Then if you think Ionic 3 will be 100% bug free on any component (which was obviously not the case in Ionic 2, (I pass on the weeks i spent to learn IonicDB before it was just scraped), then sure no need to create a forum for ionic 3.


#7

The difference between Ionic 1 and the current version is massive and real. Ionic 1 is still being maintained (AFAIK). “Ionic 2” does not exist as a maintained concept, so it would be pointless and counterproductive to dedicate any resources to pretending that it is.


#8

@rapropos I’m not sure i understand, Do you mean if i update a project now and the dependencies, I’ll get only Ionic v3 code?


#9

Yes, you should get 3.1.1 as I write this.


#10

@rapropos Ok, I’m a big fan of Ionic, I hope it will not take me too much time to rewrite the code base from 2 (Lost some weeks already with IonicDB that was scraped).