plist AppStore problem

Wenn ich einen Build mache, mit diesen Einstellungen, wie auf den Bildern zu sehen, dann endet das damit, dass die App in einer Endlosschleife nach dem AppStore Passwort fragt und nie startet. (Signiert mit AppWrapper…, Xojo2016R41… nur Mac)
ndere ich die Werte Major, Minor und Bug Version in 1, 0 und 6 luft sie aber…
Ich drehe mich seit 2 Tagen im Kreis, was kann das sein?

Um das noch zu ergnzen, gleichgltig, was ich an der plist ndere, es fhrt zu dem obigen Problem!
Das war bsiher noch nie so, ich habe meistens manuell Werte einegstellt, ohne Probleme.
Ok, Unterscheid ist jetzt, dass diese App 64 bit ist

Wieso willst Du denn “109” als Major-Version? Wie immer: Versuch es mit einer Hello World-App als Beispiel, ob das klappt oder nicht.

Gute Frage… ich hatte dummerweise bei der ersten version dort mit 100 begonnen und dann je Build, den ich hochgeladen habe hochfgezhlt…

Aber wir fllt gerade tewas anderes auf, kann es sein, dass ich gar keine App,z.B. mit Version 1.0.7 testen kann, wenn ich diese noch nicht im iTunesConnect angelegt habe?

An AppWarpper liegt es nicht, sobald ich die CFBundleversion auf 1.0.6 ndere luft die App mit dem Testaccount…

Ich blicke es nicht mehr… das ging ja jetzt jahrelang problemlos… ??

OK, nochmal in Kurz das Problem:

Ich mache einen Build, jage ihn durch AppWarpper für AppStore, starte die App, gebe meinen Testaccount ein, und es läuft!

Ich öffne die plist, ändere die BundleVersion auf irgendetwas anderes (weil mein erster Build abgelehnt wurde), wieder durch AppWrapper für AppStore, starte, gebe meinen Testaccount ein und es LÄUFT nicht mehr und endet damit, dass ich alle paar Sekunden nach dem Account gefragt werden.

Console steht dann:
22.03.17 10:04:40,032 com.apple.xpc.launchd[1]: (de.onlymac.minerals.382112[3673]) Service exited with abnormal code: 173
22.03.17 10:04:40,169 sandboxd[151]: ([448]) storeassetd(448) deny file-read-data /dev
22.03.17 10:04:42,808 sandboxd[151]: ([428]) storeaccountd(428) deny file-write-create /Users/stefan/Library/Caches/de.onlymac.minerals/SandboxBag

Full:
storeassetd(448) deny file-read-data /dev

Process: storeassetd [448]
Path: /System/Library/PrivateFrameworks/CommerceKit.framework/Versions/A/Resources/storeassetd
Load Address: 0x105976000
Identifier: storeassetd
Version: ??? (???)
Code Type: x86_64 (Native)
Parent Process: launchd [1]
User ID: 503

Date/Time: 2017-03-22 10:04:40.157 +0100
OS Version: Mac OS X 10.11.6 (15G1217)
Report Version: 8

Thread 0:
0 libsystem_kernel.dylib 0x00007fff9bda9f72 mach_msg_trap + 10
1 CoreFoundation 0x00007fff8aa80124 __CFRunLoopServiceMachPort + 212
2 CoreFoundation 0x00007fff8aa7f5ec __CFRunLoopRun + 1356
3 CoreFoundation 0x00007fff8aa7ee38 CFRunLoopRunSpecific + 296
4 CoreFoundation 0x00007fff8aac0911 CFRunLoopRun + 97
5 storeassetd 0x00000001059b5bf3
6 libdyld.dylib 0x00007fff8a94f5ad start + 1

Thread 1:
0 libsystem_kernel.dylib 0x00007fff9bdb0efa kevent_qos + 10
1 libdispatch.dylib 0x00007fff8aea3dcd _dispatch_autorelease_pool_pop + 0

Thread 2:
0 libsystem_kernel.dylib 0x00007fff9bda9f72 mach_msg_trap + 10
1 CoreFoundation 0x00007fff8aa80124 __CFRunLoopServiceMachPort + 212
2 CoreFoundation 0x00007fff8aa7f5ec __CFRunLoopRun + 1356
3 CoreFoundation 0x00007fff8aa7ee38 CFRunLoopRunSpecific + 296
4 CFNetwork 0x00007fff951fea6d +[NSURLConnection(Loader) _resourceLoadLoop:] + 412
5 Foundation 0x00007fff94a84e64 NSThread__start + 1351
6 libsystem_pthread.dylib 0x00007fff8ae7d99d _pthread_body + 131
7 libsystem_pthread.dylib 0x00007fff8ae7d91a _pthread_body + 0
8 libsystem_pthread.dylib 0x00007fff8ae7b351 thread_start + 13

Thread 3:
0 libsystem_kernel.dylib 0x00007fff9bdb007a __select + 10
1 libsystem_pthread.dylib 0x00007fff8ae7d99d _pthread_body + 131
2 libsystem_pthread.dylib 0x00007fff8ae7d91a _pthread_body + 0
3 libsystem_pthread.dylib 0x00007fff8ae7b351 thread_start + 13

Thread 4:
0 libsystem_kernel.dylib 0x00007fff9bdb05e2 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff8ae7b341 start_wqthread + 13

Thread 5:
0 libsystem_kernel.dylib 0x00007fff9bdafc4a __open_nocancel + 10
1 libsystem_c.dylib 0x00007fff8e014ffb devname_r + 80
2 Security 0x00007fff91bcd91c Security::UnixPlusPlus::FileDesc::mediumType() + 82
3 Security 0x00007fff91ae04a8 Security::CodeSigning::SecStaticCode::validateResources(unsigned int) + 128
4 Security 0x00007fff91ae25db Security::CodeSigning::SecStaticCode::staticValidate(unsigned int, Security::CodeSigning::SecRequirement const*) + 219
5 Security 0x00007fff91ad8232 SecStaticCodeCheckValidityWithErrors + 332
6 StoreFoundation 0x00007fff8f8c02e8 -[NSFileManager(ISAdditions) _isFileSignedAtPath:withRequirement:basicCheck:progressHandler:] + 847
7 StoreFoundation 0x00007fff8f8c0a91 -[NSFileManager(ISAdditions) isSignedByDeveloperFileAtPath:basicCheck:progressHandler:] + 110
8 StoreFoundation 0x00007fff8f8c0b05 -[NSFileManager(ISAdditions) isSignedByDeveloperFileAtPath:withProgressHandler:] + 52
9 StoreFoundation 0x00007fff8f8e6126 -[ISCodeSignatureOperation main] + 395
10 StoreFoundation 0x00007fff8f8c2f55 -[ISOperation runSubOperation:returningError:] + 209
11 storeassetd 0x00000001059a32b3
12 StoreFoundation 0x00007fff8f8c37c9 -[ISOperation _main:] + 426
13 StoreFoundation 0x00007fff8f8c32f7 -[ISOperation main] + 547
14 Foundation 0x00007fff94a94c7a -[__NSOperationInternal _start:] + 654
15 Foundation 0x00007fff94a90c64 __NSOQSchedule_f + 194
16 libdispatch.dylib 0x00007fff8ae9e40b _dispatch_client_callout + 8
17 libdispatch.dylib 0x00007fff8aea303b _dispatch_queue_drain + 754
18 libdispatch.dylib 0x00007fff8aea9707 _dispatch_queue_invoke + 549
19 libdispatch.dylib 0x00007fff8aea1d53 _dispatch_root_queue_drain + 538
20 libdispatch.dylib 0x00007fff8aea1b00 _dispatch_worker_thread3 + 91
21 libsystem_pthread.dylib 0x00007fff8ae7d4de _pthread_wqthread + 1129
22 libsystem_pthread.dylib 0x00007fff8ae7b341 start_wqthread + 13

Thread 6:
0 libsystem_kernel.dylib 0x00007fff9bdb05e2 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff8ae7b341 start_wqthread + 13

Thread 7:
0 libsystem_kernel.dylib 0x00007fff9bdb05e2 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff8ae7b341 start_wqthread + 13

Binary Images:
0x105976000 - 0x105a69fff storeassetd (463.9) <263f4729-c3b4-368c-b3a5-7c1471d1f7af> /System/Library/PrivateFrameworks/CommerceKit.framework/Versions/A/Resources/storeassetd
0x7fff8a94c000 - 0x7fff8a94fffb libdyld.dylib (360.22) /usr/lib/system/libdyld.dylib
0x7fff8a9f6000 - 0x7fff8ae6cff7 com.apple.CoreFoundation (6.9 - 1259) <51d1f34f-9fec-3ef2-8382-2d13d75f845a> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x7fff8ae7a000 - 0x7fff8ae83ff7 libsystem_pthread.dylib (138.10.4) <3dd1ef4c-1d1b-3abf-8cc6-b3b1ceee9559> /usr/lib/system/libsystem_pthread.dylib
0x7fff8ae9c000 - 0x7fff8aec9fff libdispatch.dylib (501.40.12) /usr/lib/system/libdispatch.dylib
0x7fff8e012000 - 0x7fff8e09ffef libsystem_c.dylib (1082.60.1) <28733d22-553e-3cbc-8d2c-edceb46e46af> /usr/lib/system/libsystem_c.dylib
0x7fff8f8a3000 - 0x7fff8f90aff7 com.apple.StoreFoundation (1.0 - 463.9) /System/Library/PrivateFrameworks/StoreFoundation.framework/Versions/A/StoreFoundation
0x7fff91a07000 - 0x7fff91ca1ff3 com.apple.security (7.0 - 57337.60.2) /System/Library/Frameworks/Security.framework/Versions/A/Security
0x7fff94a4f000 - 0x7fff94da3fff com.apple.Foundation (6.9 - 1259) <71a9d3a0-0b1f-3e3a-86f3-1486365a6ef2> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x7fff951f7000 - 0x7fff9547efff com.apple.CFNetwork (760.6.3 - 760.6.3) <8cb9cb2e-d0fb-31d4-a1ae-2a5fe028ad6b> /System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
0x7fff9bd99000 - 0x7fff9bdb7ff7 libsystem_kernel.dylib (3248.60.11.2.1) <19b06617-edc1-3925-8a09-bc775f3d6a08> /usr/lib/system/libsystem_kernel.dylib

Hmm… manchmal funzt es, wenn man die relevanten Zeilen aus dem Crash-Report goggelt. Da habe ich das hier gefunden: https://forum.xojo.com/28600-can-t-start-new-build-app-for-mas/0 . Der Crash-Report sieht hnlich aus.

OK, also sobal die CFBundleVersion von der CFBundleShortVersion abweicht luft die App nach AppWrapper nicht mehr…
Lasse ich die beiden Werte gleich, geht es problemlos…

Entweder Bug in AppWrapper oder bei Apple?? Ich schreibe mal an Sam von AppWrapper, vielleicht wei der schon mehr.

Hast du das Problem lösen können? Ich hätte da sonst noch ein paar Ideen.

Ja, das konnte ich. Ich benutze jetzt den Code von Sam, den er auf seiner Seite zur Verfügung stellt, um das reciept zu prüfen. Im Zusammenspiel mit AppWrapper sicher eine gute Lösung, hat perfekt funktioniert und meine App ist online.

BTW, my old article at http://www.tempel.org/RB/AppStoreGuide may still be useful as well. Though, many of the external links in there are dead by now. Xojo’s is a community quite in flux :slight_smile: