Crash in 18.1.1

Worked fine yesterday in 17.3.

Log:

Jun 16 07:39:29 Bobs-MacBook-Pro-2 Postcard.debug[74055]: assertion failed: 16G1408 15C107: libxpc.dylib + 72226 [EE650BC3-0539-32F0-9205-ECF6755E856F]: 0x7d
Jun 16 07:39:31 Bobs-MacBook-Pro-2 launchd_sim[73957]: BUG in libdispatch client: kevent[mach_recv] monitored resource vanished before the source cancel handler was invoked
Jun 16 07:39:31 Bobs-MacBook-Pro-2 SafariBookmarksSyncAgent[74041]: objc[74041]: Class MPExportableArtworkProperties is implemented in both /Applications/XCode 9.0.1/Xcode 9.0.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/MediaPlayer.framework/MediaPlayer (0x11f3ee7d0) and /Applications/XCode 9.0.1/Xcode 9.0.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/MediaPlaybackCore.framework/MediaPlaybackCore (0x1218a8108). One of the two will be used. Which one is undefined.
Jun 16 07:39:32 Bobs-MacBook-Pro-2 diagnosticd[73993]: unsupported XPC object: OS_xpc_dictionary
Jun 16 07:39:43 Bobs-MacBook-Pro-2 LocalStorageFileProvider[74052]: BUG in libdispatch client: kevent[mach_recv] monitored resource vanished before the source cancel handler was invoked
Jun 16 07:40:35 Bobs-MacBook-Pro-2 com.apple.CoreSimulator.SimDevice.5132F111-E260-4D1B-90F9-01C54A09CA42[73957] (com.apple.videosubscriptionsd[74076]): Service exited with abnormal code: 1
Jun 16 07:40:35 Bobs-MacBook-Pro-2 com.apple.CoreSimulator.SimDevice.5132F111-E260-4D1B-90F9-01C54A09CA42[73957] (com.apple.videosubscriptionsd): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.

With the update to a newer iOS sdk, you may now be required to add plist entries for any services you use in iOS. Without them, the app will outright crash.

Are you accessing location, pictures, contacts or anything else that might be considered “private”?

Greg,

Ah. I am using the camera.

Does Xojo have a convenient plist editor?

-Bob

Greg,

I added entries into the plist to indicate I was using the still camera, the front facing camera, and the string to describes why the app uses the camera.

Still crash.

I have included iosLib. Are you aware of anything it uses that would need an info.plist entry? Anything else I should look for?

-Bob

Usually the crash log will tell you what the problem is. Look in the Console app.

Greg,

Looking at the crash log in Console is seriously nuts, but it did give me a clue: I noticed an error/termination having to do with a constraint being wrong. Apparently Apple has changed things again. I had a line in a container where the top was set equal to Parent.left. This caused the crash. It did not matter in practice because the value was effectively zero so the line was where it was supposed to be. The constraint was set up wrong, which didn’t used to be a problem and now is.

I will post this finding in a separate conversation with an appropriate title.

Thanks for your help. It only took two days to track this down.

-Bob