I don’t think this is related to your privacy usage string. To test this I did the following:
I downloaded the final version of the code.
I removed the privacy entry from the
I ran the app and tried to access photos.
It crashed with a
In the Xcode console (View > Debug Area > Activate Console) I see a clear message about the missing privacy string.
2017-02-09 09:20:22.589754 FoodTracker[13158:1131326] [access] This app has crashed because it attempted 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.
SIGSTOPis a relatively unusual signal to stop with. If you look at the backtrace of the stopped thread (View > Navigators > Debug Navigator), what do you see?
Share and Enjoy
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"
I did more research last night and found a solve for the Tap Gesture Recognizer not responding to my click. It appears the ImageView "interaction" in the attributes inspector defaults to an inactive status. Once I checked "User Interaction Enabled" it started working.
It now is, seemingly, running properly in the simulator, but I'm still encountering the SIGSTOP error.
This is the message in my console:
objc: Class PLBuildVersion is implemented in both .../Xcode.app/.../AssetsLibraryServices (0x1140e2998) and .../Xcode.app/.../PhotoLibraryServices.framework/PhotoLibraryServices (0x112fcd880). One of the two will be used. Which one is undefined.
2017-02-08 22:31:03.285948 Tracking App[12830:799450] [Generic] Creating an image format with an unknown type is an error
2017-02-08 22:31:10.317821 Tracking App[12830:799450] [Generic] Creating an image format with an unknown type is an error
*Note: Removed some of the file path from the objc message.
Thank you for your assistance!