AppStore

From APIDesign

(Difference between revisions)
Jump to: navigation, search
Line 29: Line 29:
into my pom file. Something has been generated, but application loader rejects the upload with
into my pom file. Something has been generated, but application loader rejects the upload with
-
<source lang="bash"
+
<source lang="bash">
ERROR ITMS-9000: "Invalid Provisioning Profile. The provisioning profile included in the bundle org.apidesign.demo.minesweeper.Main [Payload/MineSweeper.app] is invalid. [Missing code-signing certificate.] For more information, visit the iOS Developer Portal."
ERROR ITMS-9000: "Invalid Provisioning Profile. The provisioning profile included in the bundle org.apidesign.demo.minesweeper.Main [Payload/MineSweeper.app] is invalid. [Missing code-signing certificate.] For more information, visit the iOS Developer Portal."
</source>
</source>

Revision as of 12:18, 1 August 2014

Yeah, it takes $99 to get permission to publish iOS applications to AppStore. It required just $25 to publish to GooglePlay. I managed to pay those $25 bucks and publish the app in one day. Will I succeed with AppStore as fast or will it take weeks?

This is the source of information I am going to follow - Ping example: http://asipofjava.blogspot.be/2014/05/pong-aka-retro-game-i-available-in-app.html

I followed the steps, downloaded distribution profile, but then it took a long time to find out where the profile is and what is its name. It is in /Users/<username>/Library/MobileDevice/Provisioning Profiles, thus I could put

tests-MacBook-Pro:minesweeper jarda$ hg diff
diff -r 77670cba08c3 minesweeper/pom.xml
--- a/minesweeper/pom.xml	Sat Jul 26 11:15:18 2014 +0200
+++ b/minesweeper/pom.xml	Sun Jul 27 07:17:58 2014 +0200
@@ -532,7 +532,7 @@
                   <plugin>
                       <groupId>org.robovm</groupId>
                       <artifactId>robovm-maven-plugin</artifactId>
-                      <version>0.0.13.1</version>
+                      <version>0.0.14.1</version>
                       <configuration>
                           <config>
                               <mainClass>org.apidesign.demo.minesweeper.Main</mainClass>
@@ -563,6 +563,9 @@
                               </resources>
                           </config>
                           <includeJFX>false</includeJFX>
+        <iosSignIdentity>iPhone Distribution</iosSignIdentity>
+        <iosProvisioningProfile>E4B14DB7-81F1-4C9D-A3BE-65F86F32027F</iosProvisioningProfile>
+

into my pom file. Something has been generated, but application loader rejects the upload with

ERROR ITMS-9000: "Invalid Provisioning Profile. The provisioning profile included in the bundle org.apidesign.demo.minesweeper.Main [Payload/MineSweeper.app] is invalid. [Missing code-signing certificate.] For more information, visit the iOS Developer Portal."

Trying advice to check the list of certificates with:

$ security find-identity -v -p codesigning
  1) AAB1C4DEABD0B7FEA38F86791617D8EBFC9FB5C7 "iPhone Developer: Jaroslav Tulach (62CX47PZM2)"
  2) 92FF34782870A830C53567290732329E3EED53DC66 "iPhone Distribution: Jaroslav Tulach (8VI366L5Y4)"
     2 valid identities found

I had to remove an automatically generated distribution provisioning profile, obtain new one. Then I was able to upload the app and send it to verification. To pass the verification I had to include Info.plist.xml as suggested in the Ping example.

Personal tools
buy