Re: [4D v18.3; Mac {10.13.6} + {10.15.7}] LEP-voodoo
On Mar 26, 2021, at 4:17 AM, Jörg Knebel via 4D_Tech <4d_tech@lists.4d.com> wrote: > >> On 26 /03 /2021, at 22:03, Keisuke Miyako via 4D_Tech <4d_tech@lists.4d.com> >> wrote: >> >> it is the app that needs to be notarised. >> >> the rules discussed so far are common to all apps, nothing is specific to 4D. > > I understand, it is totally my fault that it doesn’t work in > interpreted/debugging mode. Not exactly your fault. Even if you were creating an app in Xcode you could specify camera access in the entitlements section, but it still wouldn’t work on 10.15+, and then you’d have to google, and eventually you might find the StackOverflow question with an answer specifying the necessary Info.plist keys you needed to add. There’s probably a page on the Apple developer documentation that indicates which Info.plist keys you need to add to access the camera but if it’s there is it’s easy to miss. I recently went through this when updating a macOS app; I’ve actually done all this before for a different app and I still ended up googling like a newbie doing it for the first time. The big difference is that this is not something those that develop only 4D normally have to deal with, and 4D’s built-in options for setting up app signing are somewhat lacking. Jim ** 4D Internet Users Group (4D iNUG) New Forum: https://discuss.4D.com Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **
Re: [4D v18.3; Mac {10.13.6} + {10.15.7}] LEP-voodoo
> On 26 /03 /2021, at 22:03, Keisuke Miyako via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > it is the app that needs to be notarised. > > the rules discussed so far are common to all apps, nothing is specific to 4D. I understand, it is totally my fault that it doesn’t work in interpreted/debugging mode. One PlugIn less to watch out for! Cheers ** 4D Internet Users Group (4D iNUG) New Forum: https://discuss.4D.com Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **
Re: [4D v18.3; Mac {10.13.6} + {10.15.7}] LEP-voodoo
actually the database kind doesn't matter, there is nothing to do for the structure file or project. it is the app that needs to be notarised. the rules discussed so far are common to all apps, nothing is specific to 4D. ** 4D Internet Users Group (4D iNUG) New Forum: https://discuss.4D.com Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **
Re: [4D v18.3; Mac {10.13.6} + {10.15.7}] LEP-voodoo
> On 26 /03 /2021, at 17:41, Keisuke Miyako via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > info.plist and entitlements are 2 different entities. Just to clarify one thing: You are talking about “4D Project Mode” all the time, do you? ** 4D Internet Users Group (4D iNUG) New Forum: https://discuss.4D.com Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **
Re: [4D v18.3; Mac {10.13.6} + {10.15.7}] LEP-voodoo
Keisuke, > On 26 /03 /2021, at 17:41, Keisuke Miyako via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > info.plist and entitlements are 2 different entities. Now I’m totally confused. Where is the “entitlement entity” located? I asume it too should be edited with Xcode only? I never touched Xcode yet but I think there will be a first time for everything to make sense out of all that gibberish needed to develop in 4D nowadays. > the com.apple.security.device.camera key needs to be in entitlements, not > info.plist. > info.plist is where you add NSCameraUsageDescription. > > if you use a code editor to edit either plist file, > you might want to "plutil -convert xml1" to normalise the file first. > in general, using a tool other than Xcode will invalidate the plist file. > > but again, all of that is done automatically in the GitHub example I shared > earlier. > you just have added your Apple Developer password to keychain for it to work. Well, I guess I’m luck not to have to do a handstand and balancing a daed cat with my feed at the same time. Cheers ** 4D Internet Users Group (4D iNUG) New Forum: https://discuss.4D.com Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **