breez / breez-sdk-liquid-swift

MIT License
2 stars 1 forks source link

App Installation Failed: Unable to install "MyApp" #4

Open radmakr opened 1 month ago

radmakr commented 1 month ago

Hi Breez team,

I'll start by saying I do not have any rust experience. Or experience with Swift packages that pull in xcframeworks as remote binary targets. I am trying to pull the package into my iOS app via Xcode's Swift Package Manager integration following the steps in the readme. The project compiles and builds successfully but when I try to run in the simulator I am met with the following error,

Please try again later. Failed to load Info.plist from bundle at path /Users/rademaker/Library/Developer/CoreSimulator/Devices/675B24F7-CDFD-4864-8C67-D3EFE6C7A4CE/data/Library/Caches/com.apple.mobile.installd.staging/temp.la9Twk/extracted/MyApp.app/Frameworks/breez_sdk_liquidFFI.framework; Extra info about "/Users/rademaker/Library/Developer/CoreSimulator/Devices/675B24F7-CDFD-4864-8C67-D3EFE6C7A4CE/data/Library/Caches/com.apple.mobile.installd.staging/temp.la9Twk/extracted/MyApp.app/Frameworks/breez_sdk_liquidFFI.framework/Info.plist": Couldn't stat /Users/rademaker/Library/Developer/CoreSimulator/Devices/675B24F7-CDFD-4864-8C67-D3EFE6C7A4CE/data/Library/Caches/com.apple.mobile.installd.staging/temp.la9Twk/extracted/MyApp.app/Frameworks/breez_sdk_liquidFFI.framework/Info.plist: No such file or directory

I think the xcframework binary target isn't getting built? But I really don't know. Is your team experiencing this as well? If not, am I doing something wrong integrating this into my app?

Thanks for any info you can give me.

mattmassicotte commented 1 month ago

I just downloaded the XCFramework at "https://github.com/breez/breez-sdk-liquid-swift/releases/download/0.2.0/breez_sdk_liquidFFI.xcframework.zip".

It contains three .framework bundles, none of which have embedded Info.plist files. I just quickly poked around with otool and they look like valid dylibs. So, I think there is a packaging issue going on. These are technically not .framework bundles but they probably can be used as dylibs.