[Interest] Apple/iOS/XCode8 problems

Jason H jhihn at gmx.com
Wed Oct 19 19:30:23 CEST 2016


And that my friends, was key to the revelation...

So a lot of things changed, so it was hard to nail down. The crash was coming from a missing NSMicrophoneUsageDescription in the plist, which was NOT warned by the App store automated messaging. For iOS 10, the app got:
- This app attempts to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSPhotoLibraryUsageDescription key with a string value explaining to the user how the app uses this data.
- This app attempts to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSCameraUsageDescription key with a string value explaining to the user how the app uses this data.

However no NSMicrophoneUsageDescription warning was generated. 

This lead to the hasty addition of that string, which resulted in an invalud plist, which produced a cascade of errors. Opening it in XCode showed that the plist could not be parsed. Fixing that fixed the rest.

Thanks everyone for your help this morning! 



> Sent: Wednesday, October 19, 2016 at 12:58 PM
> From: "Jason H" <jhihn at gmx.com>
> To: "Nuno Santos" <nunosantos at imaginando.pt>
> Cc: "interestqt-project.org" <interest at qt-project.org>
> Subject: Re: [Interest] Apple/iOS/XCode8 problems
>
> That's the thing.. I'm not. These values are unchanged for the past 11 months. It's only the Xcode/SDK version that's changed.
> 
> 
> 
> > Sent: Wednesday, October 19, 2016 at 12:49 PM
> > From: "Nuno Santos" <nunosantos at imaginando.pt>
> > To: "Jason H" <jhihn at gmx.com>
> > Cc: "interestqt-project.org" <interest at qt-project.org>
> > Subject: Re: [Interest] Apple/iOS/XCode8 problems
> >
> > Jason,
> > 
> > Are you new to iOS development?
> > 
> > - bundle identifier is the com.acme.org type of identifier. All apps must have one.
> > - Code signing depends on a provisioning profile that you need to generate on Apple Developer portal. Since you have upgrade Xcode you might need to install the profiles again. 
> > 
> > Nuno Santos
> > Founder / CEO / CTO
> > www.imaginando.pt
> > +351 91 621 69 62
> > 
> > > On 19 Oct 2016, at 17:46, Jason H <jhihn at gmx.com> wrote:
> > > 
> > > New Error Message:
> > > === BUILD TARGET midot OF PROJECT midot WITH CONFIGURATION Debug ===
> > > 
> > > Check dependencies
> > > Bundle identifier is missing. midot doesn't have a bundle identifier for the Debug build configuration. Add a value for PRODUCT_BUNDLE_IDENTIFIER in the build settings editor.
> > > Code signing is required for product type 'Application' in SDK 'iOS 10.0'
> > > 
> > >> Sent: Wednesday, October 19, 2016 at 12:24 PM
> > >> From: "Nuno Santos" <nunosantos at imaginando.pt>
> > >> To: "Jason H" <jhihn at gmx.com>
> > >> Cc: "interestqt-project.org" <interest at qt-project.org>
> > >> Subject: Re: [Interest] Apple/iOS/XCode8 problems
> > >> 
> > >> - Delete shadow builds directories and try to generate fresh makes
> > >> 
> > >> - If that doesn’t work: google it.
> > >> 
> > >> 
> > >>> On 19 Oct 2016, at 17:21, Jason H <jhihn at gmx.com> wrote:
> > >>> 
> > >>> 
> > >>> Ok, so I got rid of that message.
> > >>> 
> > >>> Now 5.6.0 and 5.6.2 get the same error:
> > >>> 
> > >>> xcodebuild: error: Unable to find a destination matching the provided
> > >>> destination specifier:
> > >>> { generic:1, platform:iOS }
> > >>> 
> > >>> Available destinations for the "my-project" scheme:
> > >>> { platform:macOS, arch:x86_64 }
> > >>> { platform:macOS, arch:i386 }
> > >>> make: *** [xcodebuild-debug-iphoneos] Error 70
> > >>> 12:04:10: The process "/usr/bin/make" exited with code 2.
> > >>> 
> > >>> I've got no clue on that one.
> > >>> 
> > >>> 
> > >>>> Sent: Wednesday, October 19, 2016 at 12:08 PM
> > >>>> From: "Nuno Santos" <nunosantos at imaginando.pt>
> > >>>> To: "Jason H" <jhihn at gmx.com>
> > >>>> Cc: "interestqt-project.org" <interest at qt-project.org>
> > >>>> Subject: Re: [Interest] Apple/iOS/XCode8 problems
> > >>>> 
> > >>>> Jason,
> > >>>> 
> > >>>> Go to mkspecs dir and type:
> > >>>> 
> > >>>> grep -r "too old” *
> > >>>> 
> > >>>> This will look for the “too old” string on every file of dir or sub dir. 
> > >>>> 
> > >>>> Somewhere it has to exist. 
> > >>>> 
> > >>>> Nuno Santos
> > >>>> Founder / CEO / CTO
> > >>>> www.imaginando.pt
> > >>>> +351 91 621 69 62
> > >>>> 
> > >>>>> On 19 Oct 2016, at 16:57, Jason H <jhihn at gmx.com> wrote:
> > >>>>> 
> > >>>>> Hrm, I'm using 5.6.2 and the equivalent file does not have that line. 
> > >>>>> 
> > >>>>> And with some more fiddling, I'm getting:
> > >>>>> 
> > >>>>> xcodebuild: error: Unable to find a destination matching the provided destination specifier:
> > >>>>> 		{ generic:1, platform:iOS }
> > >>>>> 
> > >>>>> 	Available destinations for the "midot" scheme:
> > >>>>> 		{ platform:macOS, arch:x86_64 }
> > >>>>> 		{ platform:macOS, arch:i386 }
> > >>>>> 
> > >>>>> 
> > >>>>> 
> > >>>>>> Sent: Wednesday, October 19, 2016 at 11:48 AM
> > >>>>>> From: "Nuno Santos" <nunosantos at imaginando.pt>
> > >>>>>> To: "Jason H" <jhihn at gmx.com>
> > >>>>>> Cc: "interestqt-project.org" <interest at qt-project.org>
> > >>>>>> Subject: Re: [Interest] Apple/iOS/XCode8 problems
> > >>>>>> 
> > >>>>>> Jason,
> > >>>>>> 
> > >>>>>> There is a file:
> > >>>>>> 
> > >>>>>> /Users/nsantos/Qt/5.7/clang_64/mkspecs/macx-ios-clang/features/sdk.prf
> > >>>>>> 
> > >>>>>> You need to change the QMAKE_MAC_SDK_VERSION to 8
> > >>>>>> 
> > >>>>>> 
> > >>>>>> Nuno Santos
> > >>>>>> Founder / CEO / CTO
> > >>>>>> www.imaginando.pt
> > >>>>>> +351 91 621 69 62
> > >>>>>> 
> > >>>>>>> On 19 Oct 2016, at 16:43, Jason H <jhihn at gmx.com> wrote:
> > >>>>>>> 
> > >>>>>>> 
> > >>>>>>> Recently, we did a release using 5.6.2 and it is crashing on all the phones. 
> > >>>>>>> I'm trying to revert to 5.6.0, but in the time between the two, my mac installed XCode 8 and SDK 10.12.
> > >>>>>>> 
> > >>>>>>> When I try to build now, with QMAKE_MAC_SDK = macosx10.12 I get:
> > >>>>>>> :-1: error: Current macosx10.12 SDK version (10.12) is too old. Please upgrade Xcode.
> > >>>>>>> 
> > >>>>>>> But 
> > >>>>>>> $ ls /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/
> > >>>>>>> MacOSX.sdk     	MacOSX10.12.sdk
> > >>>>>>> 
> > >>>>>>> It's all I have now. (Thanks Apple! >:-| )
> > >>>>>>> 
> > >>>>>>> How can I get out of this pickle? I need to use Qt 5.6.0 (last know good version) XCode 8 and 10.12 SDK (I can't downgrade!)
> > >>>>>>> 
> > >>>>>>> 
> > >>>>>>> _______________________________________________
> > >>>>>>> Interest mailing list
> > >>>>>>> Interest at qt-project.org
> > >>>>>>> http://lists.qt-project.org/mailman/listinfo/interest
> > >>>>>> 
> > >>>>>> 
> > >>>> 
> > >>>> 
> > >> 
> > >> 
> > 
> >
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>



More information about the Interest mailing list