Uploading to iTunesConnect with Organiser crashes - iphone

I've been trying to re-upload a previously uploaded app (it originally failed submission), but both the 'Validate' and the 'Submit' button in Organiser crash Organiser itself before finishing. This has been happening for about three days now, and I haven't heard a word back from the iTunesConnect helpdesk. I am running the lastest Xcode 3.2.5 with iOS 4.2.1, and downloaded and installed the latest Application Tools as instructed. Everything installed fine.
I'm getting a:
with:
Process: Xcode [32144]
Path: /Developer/Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.Xcode
Version: 3.2.5 (1760)
Build Info: DevToolsIDE-17600000~5
Code Type: X86-64 (Native)
Parent Process: launchd [348]
Date/Time: 2010-12-03 17:29:50.499 +1000
OS Version: Mac OS X 10.6.5 (10H574)
Report Version: 6
Interval Since Last Report: 4332 sec
Crashes Since Last Report: 2
Per-App Interval Since Last Report: 1215 sec
Per-App Crashes Since Last Report: 2
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Crashed Thread: 7 Dispatch queue: com.apple.root.default-priority
Application Specific Information:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[ITunesSoftwareApplicationDescription applicationType]: unrecognized selector sent to instance 0x200c57ae0'
*** Call stack at first throw:
(
0 CoreFoundation 0x00007fff840087b4 __exceptionPreprocess + 180
1 libobjc.A.dylib 0x00007fff886ea0f3 objc_exception_throw + 45
2 CoreFoundation 0x00007fff84062110 +[NSObject(NSObject) doesNotRecognizeSelector:] + 0
3 CoreFoundation 0x00007fff83fda91f ___forwarding___ + 751
I know that this isn't the place to debug Apple apps - but someone must have had this happen and figured out how to get past it? I'm getting no joy from apple :(
thanks

As a work around, you could try Application Loader.app in /Developer/Applications/Utilities.
I generally find this more reliable.

You should create an .ipa file for you App and then use application loader as Andrew said.
Worked for me.
Btw nobody can get joy from a computer company ;) ... Apple or any other...

Check what version of Xcode you're running. I had a similar issue where I was running a developer preview - you can't submit an app from a DP version of Xcode, and mine was crashing at the exact same point as yours.
Hope this helps.

Related

Xcode 12.4 crashes when opening any project

Xcode keeps crashing whenever I try to run any .xcodeproj or .xcworkspace project.
Solutions I've tried are: reinstalling Xcode, deleting derived data, and deleting xcuserstate folder.
Xcode keeps failing with the below error:
Process: Xcode [7099]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 12.4 (17801)
Build Info: IDEFrameworks-17801000000000000~7 (12D4e)
App Item ID: 497799835
App External ID: 839994694
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Xcode [7099]
User ID: 501
Date/Time: 2021-03-13 11:03:31.401 +0100
OS Version: macOS 11.0.1 (20B29)
Report Version: 12
Anonymous UUID: 007E7CE0-17B1-C3EF-5191-4E8908451B4E
Sleep/Wake UUID: 310A38F4-3A1F-4C76-8D12-A255873336E7
Time Awake Since Boot: 28000 seconds
Time Since Wake: 570 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Application Specific Information:
ProductBuildVersion: 12D4e
ASSERTION FAILURE in /Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-17801/IDEKit/Workspace/IDEWorkspaceDocument.m:3270
Details: (tabController) should not be nil.
Object: <IDEWorkspaceDocument: 0x7fa04eecbff0>
Method: -commitStateToDictionary:
Thread: <NSThread: 0x7fa045904c20>{number = 1, name = main}
Open FDs: 41/7168
Hints:
I have the same problem as you but on my side Xcode crashes only when I open a project directly from the fast project opening window (the one that opens when Xcode is launched)
Try to open the project through the Finder or from the terminal directly with the command open /nameProject/xcWorkspace
I don't have any problems with this method.

App crash , Xcode11.4, iOS 10.3.3 10.3.4, iPhone 5c /5 iPad4 (armv7s)

Our app crash on os 10.3.3 10.3.4, iPhone 5c /5 iPad4 (armv7s 32) compiled by Xcode 11.4, swift optimization on. We find the PC register point to a hole address without virtual address and no stack information. If we close swift optimization, it works.
So do anyone find the problem and any solution?
It's certain that it's related to Xcode 11.4 swift optimization.
I find the same question here. https://www.reddit.com/r/iOSProgramming/comments/frcpsc/xcode_114_builds_crashes_on_ios_10/
Incident Identifier: 2224949E-E5E3-479C-9B08-4FD1473144B3
CrashReporter Key: 052c9a28855da965790a6dcc0885097a66ee4eff
Hardware Model: iPad3,4
Process: AAAAA [34872]
Path: /private/var/containers/Bundle/Application/xxxxxx....
Identifier: com.xxx.xxxxx
Version: xxxx
Code Type: ARM (Native)
Role: Non UI
Parent Process: launchd [1]
Coalition: com.xxx.xxxxx [1932]
Date/Time: 2020-03-30 22:42:49.2564 +xxx
Launch Time: 2020-03-30 22:42:47.0000 +xxx
OS Version: iPhone OS 10.3.3 (14G60)
Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Subtype: KERN_PROTECTION_FAILURE at 0x015fa500
Triggered by Thread: 0
Thread 0 name:
Thread 0 Crashed:
0 ??? 0x015fa500 0 + 23045376
After lots of analysis such as log and instruction debug, I am surely it's a bug xcode 11.4 swift compiler optimization.
Detailedly, the optimization cause a stack pointer (fp) messy at the point opening a new function stack frame.
I show it in the following.
Here is a helper function type metadata accessor for myapp.MainViewController at <compiler-generated> generated by compiler in our mainviewcontroller.
<+0>, <+4> is wrong. It should be
0x6cd85c <+0>: push.w {r4, r5, r6, r7, lr}
0x6cd860 <+4>: add r7, sp, #0xc
r7 is fp. so the error instruction <+0> don`t save r7, and <+4> sub ins makes r7 lower than sp a lot that causes all whole stack messy. So It's wrong clearly.
This is what happens when the ins execute.
Before:
After:
The whole stack loses becuase of fp error.
And we can also verify that in xcode 11.3.
<+0> <+2> is the same as our expectation above.
So we have to downgrade to xcode 11.3 as well and use runtime refection to adapt new iOS SDK feature that should be call in xcode 11.4.
We have also encountered multiple crashed on old 32-Bit devices with iOS 9 or 10. Recompiling with Xcode 11.3.1 fixed those random crashes in my case...
There is also a open Bug for this topic at https://bugs.swift.org/browse/SR-12511
This is fixed for us in Xcode 11.5.
GM_Seed which is available since May 18.
https://developer.apple.com/services-account/download?path=/Developer_Tools/Xcode_11.5_GM_Seed/Xcode_11.5_GM_Seed.xip

Why does ADT let's me export once. 2nd Export it crashes OSX 10.6

I have a weird problem since a few days. After exporting a project for android once it works fine the 2nd export I do eclipse crashes with this error:
Identifier: org.eclipse.eclipse
Version: 3.8 (3.8)
Code Type: X86-64 (Native)
Parent Process: launchd [269]
Date/Time: 2013-03-12 21:36:13.365 +0100
OS Version: Mac OS X 10.6.8 (10K549)
Report Version: 6
Interval Since Last Report: 321292 sec
Crashes Since Last Report: 3
Per-App Interval Since Last Report: 44806 sec
Per-App Crashes Since Last Report: 2
Anonymous UUID: 52A136CA-CDAE-4661-B166-51B04A18C21C
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: 0x000000000000000a, 0x000000011f1c965f
Crashed Thread: 46 Java: ModalContext
Any clues. Running: adt-bundle-mac-x86_64-20130219
SIGBUS looks like bad RAM but then other things would act up aswell?
B
I guess that's random. As mentioned in this thread it looks like it can happen if eclipse is building your project at the same time as you're exporting it. You could try to disable the "build automatically" option in eclipse while you're exporting it.

app not launching on iPhone (iOS 5)

Just installed and app on my iPod touch using a developer provisioning profile. The app works fine some time but after some time it fails to start on iPod (iOS 5) touch, just tries to launch but in half way through closes .... even the splash is also not visible.
I checked the crash log from device says something like this.
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x00000001, 0xe7ffdefe
Crashed Thread: 0
Dyld Error Message:
Library not loaded: /Developer/Library/Frameworks/SenTestingKit.framework/SenTestingKit
Referenced from: /var/mobile/Applications/DBC8A071-F305-4095-8FF5-76DDC99DDDEE/ApplicationName.app/ApplicationName
Reason: image not found
Dyld Version: 199.5
Binary Images:
0x1000 - 0x72fff +ApplicationName armv7 <1f10c6b4168c3503908fead68d17ddb5> /var/mobile/Applications/DBC8A071-F305-4095-8FF5-76DDC99DDDEE/ApplicationName.app/ApplicationName
0x2fe79000 - 0x2fe9afff dyld armv7 /usr/lib/dyld
From log it seems like its failing to load the SenTestingKit library but how it works for some time????
And if I remove this framework what should be the alternative for iOS 5.
Please shed some light on this rather strange issue.
You should only be linking to SenTesting in your Testing target.
First:
Try to delete the derived Data, then clean the project and restart Xcode. If its still not working, check the Target dependencies of your library.
Second: Try to mark the SenTestingKit as "optional".
There are some problems with loading libraries in iOS 5, so just try to clean the project in xCode 4 and build it again. That maybe help you, because after a cleaning all paths will be set up for new.

Instruments (Leaks/Activity Monitor/Time Profiler etc.) won't start - what's going on?

I'm sorry if this question was somewhere here already, but I'm struggling with this problem for hours with no results. Long story short - I have a fresh installation of Xcode (version 3.2.5 64bit) and when I try to run my app with a performance tool (let's say Leaks), Instruments just crash, no matter which tool I choose. As I'm a beginner when it comes to Xcode I have no clue what's wrong. Please find the crash report below:
Process: Instruments [4033]
Path:
/Developer/Applications/Instruments.app/Contents/MacOS/Instruments
Identifier: com.apple.Instruments
Version: 2.7 (3017) Build
Info: Instruments-30170000~6 Code
Type: X86-64 (Native) Parent
Process: launchd [172]
Date/Time: 2011-03-29
19:43:52.996 +0100 OS Version:
Mac OS X 10.6.7 (10J3250) Report
Version: 6
Interval Since Last Report:
118589 sec Crashes Since Last Report:
14 Per-App Interval Since Last Report:
24 sec Per-App Crashes Since Last
Report: 5 Anonymous UUID:
5934F52C-EF00-40F1-A0B4-17D52FA623F1
Exception Type: EXC_BREAKPOINT
(SIGTRAP) Exception Codes:
0x0000000000000002, 0x0000000000000000
Crashed Thread: 0 Dispatch queue:
com.apple.main-thread
Dyld Error Message: Symbol not
found:
_CSSymbolicatorCreateWithMachKernel Referenced from:
/Developer/Applications/Instruments.app/Contents/MacOS/../../../../Library/PrivateFrameworks//InstrumentsPlugIn.framework/Versions/A/InstrumentsPlugIn
Expected in:
/System/Library/PrivateFrameworks/CoreSymbolication.framework/Versions/A/CoreSymbolication
Has anyone experienced something like this before or knows how to fix it? I hope I've formulated my problem descriptively enough. I'd appreciate your help!
Thanks!
After days of fruitless struggle I have just updated my Xcode to version 4 and everything works perfectly fine. I still have no idea what was wrong with my previous installation, but since my Instruments work now, I won't investigate in any longer.