For now, you’ll need to manually take care of getting the .framework copied into the app bundle via an appResource. I’ll look at getting this fixed soon.
Depends on whether I get around to doing the msbuild/macpack side of the change before Friday. I’m a bit under the weather this week, so I might not. If not, next week.
Side question, how did you add this reference? DO references still get added as absolute paths for you, when you drag them in, even though the paths are close by? Fwiw, i simply re-dragged the file in and it got added with a proper relative path:
hmm. could it be you also generate the fix long before this was fully working, then? ;). in any case, i’ll have a look later today and reimport it, to see if all works then or if the error persists. thanx!
Odd, i just reimported the frameworks, and they now have a flag set that is necessary for them to be bundled that your import did not. That said, it still doesn’t quite work, and we need to do some more fixes, but the .fx you had was definitely not correction top of that.
Our of curiosity, can you rerun the import and paste the log? in particular, is the --copyframework switch being passed to HI.exe for the iOS framework?(it was here, out of the box, and this scripts had not changed in a couple months; the corresponding flag is set in the FX i generated, but it was not in yours — only explanation i can think of is you have a (very) old HI.exe or old generate.train script. I’d like to narrow that down, JIC.
In any case, we’l hope fully be able to ix the rest monday, for next friday’s beta.
fwiw, this is tracked under bugs://74881: HI/FXGen: proper .framework support
I’m not entirely sure but I think there might be problems running on an actual device ?
The loading screen appears and then the app disappears.
If I try and debug I see this in the debug window
Note: No symbols were found for this OS version. Connect your device to Xcode and open the Devices window (⇧⌘2).
~> Process started.
dyld: Library not loaded: @rpath/Realm.framework/Realm
Referenced from: /var/containers/Bundle/Application/A64716D3-5250-44B3-A1E0-F4F74906AE0C/SailingLogiOS.app/SailingLogiOS
Reason: no suitable image found. Did find:
/private/var/containers/Bundle/Application/A64716D3-5250-44B3-A1E0-F4F74906AE0C/SailingLogiOS.app/Realm.framework/Realm: required code signature missing for ‘/private/var/containers/Bundle/Application/A64716D3-5250-44B3-A1E0-F4F74906AE0C/SailingLogiOS.app/Realm.framework/Realm’