Help Please Internal error is caught when using application loader

I don’t even know what to look for.

Exception Name: NSInvalidArgumentException

Description: NSConcreteMutableAttributedString addAttribute:value:range:: nil value

User Info: (null)

 

0   CoreFoundation                      0x00007fffbe6467bb __exceptionPreprocess + 171

1   libobjc.A.dylib                     0x00007fffd2db3a2a objc_exception_throw + 48

2   CoreFoundation                      0x00007fffbe6c3a65 +[NSException raise:format:] + 197

3   Foundation                          0x00007fffc000451a -[NSConcreteMutableAttributedString addAttribute:value:range:] + 136

4   Application Loader                  0x00000001085af0e5 CodeWithObjectsAndValue + 50651

5   Foundation                          0x00007fffc005bed6 -[NSDataDetector enumerateMatchesInString:options:range:usingBlock:] + 3210

6   Application Loader                  0x00000001085aef0d CodeWithObjectsAndValue + 50179

7   Application Loader                  0x000000010853c05e main + 179445

8   AppKit                              0x00007fffbc3f6163 -[NSTableView _sendDelegateHeightOfRow:] + 164

9   AppKit                              0x00007fffbc3f5cf6 -[NSTableView _uncachedRectHeightOfRow:] + 237

10  AppKit                              0x00007fffbc3f5b2c -[_NSTableRowHeightStorage _cacheRowHeights] + 255

11  AppKit                              0x00007fffbc352cfe -[_NSTableRowHeightStorage _ensureRowHeights] + 82

12  AppKit                              0x00007fffbc352be0 -[_NSTableRowHeightStorage computeTableHeightForNumberOfRows:] + 105

13  AppKit                              0x00007fffbc352642 -[NSTableView _minimumFrameSize] + 77

14  AppKit                              0x00007fffbc3600ce -[NSTableView tile] + 380

15  AppKit                              0x00007fffbc36431e -[NSTableView rowsInRect:] + 121

16  AppKit                              0x00007fffbc497013 -[NSTableBinder _visibleRowIndexesForObject:] + 131

17  AppKit                              0x00007fffbc496be1 -[NSTableBinder observeValueForKeyPath:ofObject:change:context:] + 131

18  Foundation                          0x00007fffbfffadbd NSKeyValueNotifyObserver + 350

19  Foundation                          0x00007fffc0072004 -[NSObject(NSKeyValueObservingPrivate) _notifyObserversForKeyPath:change:] + 990

20  AppKit                              0x00007fffbc4291cd -[NSController _notifyObserversForKeyPath:change:] + 194

21  AppKit                              0x00007fffbc479543 -[NSArrayController didChangeValuesForArrangedKeys:objectKeys:indexKeys:] + 53

22  AppKit                              0x00007fffbc47b08d -[NSArrayController setContent:] + 749

23  MZSoftware                          0x000000010a31f746 -[ITunesPurpleSoftwareUploadDocumentController uploadCompleted:] + 745

24  Foundation                          0x00007fffc0028f2a __NSThreadPerformPerform + 326

25  CoreFoundation                      0x00007fffbe5dd581 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17

26  CoreFoundation                      0x00007fffbe5be98c __CFRunLoopDoSources0 + 556

27  CoreFoundation                      0x00007fffbe5bde76 __CFRunLoopRun + 934

28  CoreFoundation                      0x00007fffbe5bd874 CFRunLoopRunSpecific + 420

29  HIToolbox                           0x00007fffbdb5df6c RunCurrentEventLoopInMode + 240

30  HIToolbox                           0x00007fffbdb5dda1 ReceiveNextEventCommon + 432

31  HIToolbox                           0x00007fffbdb5dbd6 _BlockUntilNextEventMatchingListInModeWithFilter + 71

32  AppKit                              0x00007fffbc2545f5 _DPSNextEvent + 1093

33  AppKit                              0x00007fffbc9648eb -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1637

34  AppKit                              0x00007fffbc248fbd -[NSApplication run] + 926

35  AppKit                              0x00007fffbc213a8a NSApplicationMain + 1237

36  Application Loader                  0x0000000108510684 main + 795

37  libdyld.dylib                       0x00007fffd368f255 start + 1

38  ???                                 0x0000000000000002 0x0 + 2

Does this happen if you try to use Hello World sample app?

Hello world loaded correctly.

I was not using this on one scene and I change “TITLE” to “” (empty) that is when the error happened. I just put a space in and the error went away. I have another error to hunt down now. Thanks for your help!

local options4 = 

{

    text = " ",

    x = display.contentWidth/2,

    width = display.contentWidth-100,     --required for multi-line and alignment

    font = native.systemFontBold,

    fontSize = 44,

    align= “center”

}

I don’t know if anybody else has had this happen but when the above issue was fixed I got a 5 page error notice on upload.“Your binary is not optimized for iPhone 5” blah blah blah… It started out about mismatched array .

I have never used a Default-568h.png before. The @2x one seemed to keep me out of trouble, till now. I just made one and the IPA uploaded as normal.

I’m on a Mac mini

OS 10.12 Sierra

App Loader 3.0

Xcode 8.0 (8A218a)

Just wanted to share, just in case.

Oh, my app is Shofars & Trumpets by Nissistudio It’s up on Playstore, waiting for Apple. It’s free with no adds. I’ll post the code as a template when this is done. (It’s very simple) :slight_smile:

Can you post the text of the message about not being optimized?

Thanks

Rob

Hi

I’m having the same error message when uploading ipa with Application Loader.

Complete text of the message is:

ERROR ITMS-90096: "Your binary is not optimized for iPhone 5 - New iPhone apps and app updates submitted must support the 4-inch display on iPhone 5 and must include a launch image referenced in the Info.plist under UILaunchImages with a UILaunchImageSize value set to {320, 568}. Launch images must be PNG files and located at the top-level of your bundle, or provided within each .lproj folder if you localize your launch images. Learn more about iPhone 5 support and app launch images by reviewing the ‘iOS Human Interface Guidelines’ at https://developer.apple.com/ios/human-interface-guidelines/graphics/launch-screen."

In my build.setting under iphone - plist there are the following UILaunchImages with attributes

UILaunchImages = { { -- iPhone 4 LandscapeLeft ["UILaunchImageMinimumOSVersion"] = "7.0", ["UILaunchImageName"] = "Default-Landscape-4", ["UILaunchImageOrientation"] = "LandscapeLeft", ["UILaunchImageSize"] = "{320, 480}" }, { -- iPhone 4 LandscapeRight ["UILaunchImageMinimumOSVersion"] = "7.0", ["UILaunchImageName"] = "Default-Landscape-4", ["UILaunchImageOrientation"] = "LandscapeRight", ["UILaunchImageSize"] = "{320, 480}" }, { -- iPhone 5 LandscapeLeft ["UILaunchImageMinimumOSVersion"] = "7.0", ["UILaunchImageName"] = "Default-Landscape-5", ["UILaunchImageOrientation"] = "LandscapeLeft", ["UILaunchImageSize"] = "{320, 568}" }, { -- iPhone 5 LandscapeRight ["UILaunchImageMinimumOSVersion"] = "7.0", ["UILaunchImageName"] = "Default-Landscape-5", ["UILaunchImageOrientation"] = "LandscapeRight", ["UILaunchImageSize"] = "{320, 568}" }, { -- iPad LandscapeLeft ["UILaunchImageMinimumOSVersion"] = "7.0", ["UILaunchImageName"] = "Default-Landscape", ["UILaunchImageOrientation"] = "LandscapeLeft", ["UILaunchImageSize"] = "{768, 1024}" }, { -- iPad LandscapeRight ["UILaunchImageMinimumOSVersion"] = "7.0", ["UILaunchImageName"] = "Default-Landscape", ["UILaunchImageOrientation"] = "LandscapeRight", ["UILaunchImageSize"] = "{768, 1024}" }, { -- iPhone 6 LandscapeLeft ["UILaunchImageMinimumOSVersion"] = "8.0", ["UILaunchImageName"] = "Default-Landscape-6", ["UILaunchImageOrientation"] = "LandscapeLeft", ["UILaunchImageSize"] = "{375, 667}" }, { -- iPhone 6 LandscapeRight ["UILaunchImageMinimumOSVersion"] = "8.0", ["UILaunchImageName"] = "Default-Landscape-6", ["UILaunchImageOrientation"] = "LandscapeRight", ["UILaunchImageSize"] = "{375, 667}" }, { -- iPhone 6 Plus LandscapeLeft ["UILaunchImageMinimumOSVersion"] = "8.0", ["UILaunchImageName"] = "Default-Landscape-6p", ["UILaunchImageOrientation"] = "LandscapeLeft", ["UILaunchImageSize"] = "{414, 736}" }, { -- iPhone 6 Plus LandscapeRight ["UILaunchImageMinimumOSVersion"] = "8.0", ["UILaunchImageName"] = "Default-Landscape-6p", ["UILaunchImageOrientation"] = "LandscapeRight", ["UILaunchImageSize"] = "{414, 736}" }, { -- iPad Pro Landscape Right ["UILaunchImageMinimumOSVersion"] = "9.0", ["UILaunchImageName"] = "Default-Landscape-pro", ["UILaunchImageOrientation"] = "LandscapeRight", ["UILaunchImageSize"] = "{1024, 1366}" }, { -- iPad Pro Landscape Left ["UILaunchImageMinimumOSVersion"] = "9.0", ["UILaunchImageName"] = "Default-Landscape-pro", ["UILaunchImageOrientation"] = "LandscapeLeft", ["UILaunchImageSize"] = "{1024, 1366}" }

These are the launch images files in the root directory of my bundle:

Default-Landscape-4.png
Default-Landscape-5.png
Default-Landscape-5@2x.png
Default-Landscape-6.png
Default-Landscape-6@2x.png
Default-Landscape-6p.png
Default-Landscape-6p@2x.png
Default-Landscape-6p@3x.png
Default-Landscape-pro.png
Default-Landscape-pro@2x.png
Default-Landscape.png
Default-Landscape@2x.png

All sizes checked (i.e. Default-Landscape-5.png is 568x320, being landscape).

I really don’t know what’s wrong and why my ipa doesn’t get approved :frowning:

I’m on a Mac mini

OS 10.12 Sierra

Application Loader 3.6

8.2.1 (8C1002)

Corona Daily Build 2017.3043

You need to include the portrait settings even though your app doesn’t use them.

You should also have files specifically named:

Default-568h@2x.png

Default-667h@2x.png

Default-773h@3x.png  – note @ 3

We are putting the finishing touches on a guide that will let you eliminate all of that by using Xcode storyboard based launch images. It’s a greatly simplified way of managing this, though you do have to use Xcode.

Rob

Thx Rob!

Only one question: what’s width suitable for a 773 high screen?

So far I considered only 414x736 - iPhone 6p screen

Sorry, misspoke: Default-736h@3x.png

See: https://docs.coronalabs.com/daily/guide/distribution/buildSettings/index.html#ios-launch-images

Rob

I included portrait settings and the files named as you wrote. Now it works!

However in the linked guide they write “If your app is portrait orientation or landscape orientation only, include just the portrait or landscape versions of these files respectively.” Maybe it needs to be updated.

Thx 4 all, Rob, as ever!

Silvia

We are revamping the guide, I’ll make sure the confusing language gets tightened up.  Under iOS 8 and 9, Phones (except the plus models) didn’t use Landscape versions at all. If you wanted a landscape launch screen you would have to rotate it in your image editing software (i.e. Photoshop), but you still needed to include the Portrait entries in the massive table.

Apple hasn’t made this easy as they want everyone to use storyboard based launch controls instead of static images. Now that we don’t have to support iOS 6 and 7 which still used static launch images, we can move away from this messy setup to something far more elegant, though at the expense of having to do some small amount of work in Xcode.

Rob

Does this happen if you try to use Hello World sample app?

Hello world loaded correctly.

I was not using this on one scene and I change “TITLE” to “” (empty) that is when the error happened. I just put a space in and the error went away. I have another error to hunt down now. Thanks for your help!

local options4 = 

{

    text = " ",

    x = display.contentWidth/2,

    width = display.contentWidth-100,     --required for multi-line and alignment

    font = native.systemFontBold,

    fontSize = 44,

    align= “center”

}

I don’t know if anybody else has had this happen but when the above issue was fixed I got a 5 page error notice on upload.“Your binary is not optimized for iPhone 5” blah blah blah… It started out about mismatched array .

I have never used a Default-568h.png before. The @2x one seemed to keep me out of trouble, till now. I just made one and the IPA uploaded as normal.

I’m on a Mac mini

OS 10.12 Sierra

App Loader 3.0

Xcode 8.0 (8A218a)

Just wanted to share, just in case.

Oh, my app is Shofars & Trumpets by Nissistudio It’s up on Playstore, waiting for Apple. It’s free with no adds. I’ll post the code as a template when this is done. (It’s very simple) :slight_smile:

Can you post the text of the message about not being optimized?

Thanks

Rob

Hi

I’m having the same error message when uploading ipa with Application Loader.

Complete text of the message is:

ERROR ITMS-90096: "Your binary is not optimized for iPhone 5 - New iPhone apps and app updates submitted must support the 4-inch display on iPhone 5 and must include a launch image referenced in the Info.plist under UILaunchImages with a UILaunchImageSize value set to {320, 568}. Launch images must be PNG files and located at the top-level of your bundle, or provided within each .lproj folder if you localize your launch images. Learn more about iPhone 5 support and app launch images by reviewing the ‘iOS Human Interface Guidelines’ at https://developer.apple.com/ios/human-interface-guidelines/graphics/launch-screen."

In my build.setting under iphone - plist there are the following UILaunchImages with attributes

UILaunchImages = { { -- iPhone 4 LandscapeLeft ["UILaunchImageMinimumOSVersion"] = "7.0", ["UILaunchImageName"] = "Default-Landscape-4", ["UILaunchImageOrientation"] = "LandscapeLeft", ["UILaunchImageSize"] = "{320, 480}" }, { -- iPhone 4 LandscapeRight ["UILaunchImageMinimumOSVersion"] = "7.0", ["UILaunchImageName"] = "Default-Landscape-4", ["UILaunchImageOrientation"] = "LandscapeRight", ["UILaunchImageSize"] = "{320, 480}" }, { -- iPhone 5 LandscapeLeft ["UILaunchImageMinimumOSVersion"] = "7.0", ["UILaunchImageName"] = "Default-Landscape-5", ["UILaunchImageOrientation"] = "LandscapeLeft", ["UILaunchImageSize"] = "{320, 568}" }, { -- iPhone 5 LandscapeRight ["UILaunchImageMinimumOSVersion"] = "7.0", ["UILaunchImageName"] = "Default-Landscape-5", ["UILaunchImageOrientation"] = "LandscapeRight", ["UILaunchImageSize"] = "{320, 568}" }, { -- iPad LandscapeLeft ["UILaunchImageMinimumOSVersion"] = "7.0", ["UILaunchImageName"] = "Default-Landscape", ["UILaunchImageOrientation"] = "LandscapeLeft", ["UILaunchImageSize"] = "{768, 1024}" }, { -- iPad LandscapeRight ["UILaunchImageMinimumOSVersion"] = "7.0", ["UILaunchImageName"] = "Default-Landscape", ["UILaunchImageOrientation"] = "LandscapeRight", ["UILaunchImageSize"] = "{768, 1024}" }, { -- iPhone 6 LandscapeLeft ["UILaunchImageMinimumOSVersion"] = "8.0", ["UILaunchImageName"] = "Default-Landscape-6", ["UILaunchImageOrientation"] = "LandscapeLeft", ["UILaunchImageSize"] = "{375, 667}" }, { -- iPhone 6 LandscapeRight ["UILaunchImageMinimumOSVersion"] = "8.0", ["UILaunchImageName"] = "Default-Landscape-6", ["UILaunchImageOrientation"] = "LandscapeRight", ["UILaunchImageSize"] = "{375, 667}" }, { -- iPhone 6 Plus LandscapeLeft ["UILaunchImageMinimumOSVersion"] = "8.0", ["UILaunchImageName"] = "Default-Landscape-6p", ["UILaunchImageOrientation"] = "LandscapeLeft", ["UILaunchImageSize"] = "{414, 736}" }, { -- iPhone 6 Plus LandscapeRight ["UILaunchImageMinimumOSVersion"] = "8.0", ["UILaunchImageName"] = "Default-Landscape-6p", ["UILaunchImageOrientation"] = "LandscapeRight", ["UILaunchImageSize"] = "{414, 736}" }, { -- iPad Pro Landscape Right ["UILaunchImageMinimumOSVersion"] = "9.0", ["UILaunchImageName"] = "Default-Landscape-pro", ["UILaunchImageOrientation"] = "LandscapeRight", ["UILaunchImageSize"] = "{1024, 1366}" }, { -- iPad Pro Landscape Left ["UILaunchImageMinimumOSVersion"] = "9.0", ["UILaunchImageName"] = "Default-Landscape-pro", ["UILaunchImageOrientation"] = "LandscapeLeft", ["UILaunchImageSize"] = "{1024, 1366}" }

These are the launch images files in the root directory of my bundle:

Default-Landscape-4.png
Default-Landscape-5.png
Default-Landscape-5@2x.png
Default-Landscape-6.png
Default-Landscape-6@2x.png
Default-Landscape-6p.png
Default-Landscape-6p@2x.png
Default-Landscape-6p@3x.png
Default-Landscape-pro.png
Default-Landscape-pro@2x.png
Default-Landscape.png
Default-Landscape@2x.png

All sizes checked (i.e. Default-Landscape-5.png is 568x320, being landscape).

I really don’t know what’s wrong and why my ipa doesn’t get approved :frowning:

I’m on a Mac mini

OS 10.12 Sierra

Application Loader 3.6

8.2.1 (8C1002)

Corona Daily Build 2017.3043

You need to include the portrait settings even though your app doesn’t use them.

You should also have files specifically named:

Default-568h@2x.png

Default-667h@2x.png

Default-773h@3x.png  – note @ 3

We are putting the finishing touches on a guide that will let you eliminate all of that by using Xcode storyboard based launch images. It’s a greatly simplified way of managing this, though you do have to use Xcode.

Rob

Thx Rob!

Only one question: what’s width suitable for a 773 high screen?

So far I considered only 414x736 - iPhone 6p screen