12.6 C
London
Tuesday, June 11, 2024

swift – iOS Framework integration subject


  1. I’ve iOS Cell App developed in Swift.
  2. I’ve built-in one framework developed utilizing Goal-C inside my utility.
  3. I’ve built-in one other framework developed utilizing swift inside my Goal-C framework.
  4. I’m not utilizing Cocoapods/Carthrage/SPM, and many others. Added frameworks utilizing
    **
    Challenge Goal > Basic tab > Frameworks**

Now, Each time I’m attempting run the applying, App is crashing with following error

# **`dyld[9674]: Library not loaded: @rpath/Wallet_Swift.framework/Wallet_Swift
# Referenced from: <82924AFE-C6D1-389A-B3C3-9572012345F1> /personal/var/containers/Bundle/Software/2E7D5B86-2871-127B-AE35-0DE6A1234F37/mySwiftApp/Frameworks/ObjectiveCFramework.framework/ObjectiveCFramework
# Purpose: tried: '/usr/lib/swift/Wallet_Swift.framework/Wallet_Swift' (no such file, not in dyld cache), '/personal/preboot/Cryptexes/OS/usr/lib/swift/Wallet_Swift.framework/Wallet_Swift' (no such file), '/personal/var/containers/Bundle/Software/2E7D5B86-2871-127B-AE35-0DE6A1234F37/mySwiftApp/Frameworks/Wallet_Swift.framework/Wallet_Swift' (no such file), '/personal/var/containers/Bundle/Software/2E7D5B86-2871-127B-AE35-0DE6A1234F37/mySwiftApp/Frameworks/ObjectiveCFramework.framework/Frameworks/Wallet_Swift.framework/Wallet_Swift' (code signature in <B63065D0-54F6-3CBE-85FB-B855974D59D6> '/personal/var/containers/Bundle/Software/2E7D5B86-2871-127B-AE35-0DE6A1234F37/mySwiftApp/Frameworks/ObjectiveCFramework.framework/Frameworks/Wallet_Swift.framework/Wallet_Swift' not legitimate to be used in course of: mapped file has no cdhash, fully unsigned? Code needs to be a minimum of ad-hoc signed.), '/usr/lib/swift/Wallet_Swift.framework/Wallet_Swift' (no such file, not in dyld cache), '/personal/preboot/Cryptexes/OS/usr/lib/swift/Wallet_Swift.framework/Wallet_Swift' (no such file), '/personal/var/containers/Bundle/Software/2E7D5B86-2871-127B-AE35-0DE6A1234F37/mySwiftApp/Frameworks/Wallet_Swift.framework/Wallet_Swift' (no such file), '/personal/var/containers/Bundle/Software/2E7D5B86-2871-127B-AE35-0DE6A1234F37/mySwiftApp/Wallet_Swift.framework/Wallet_Swift' (no such file), '/Purposes/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/15.0.0/lib/darwin/Wallet_Swift.framework/Wallet_Swift' (no such file), '/personal/preboot/Cryptexes/OS/Purposes/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/15.0.0/lib/darwin/Wallet_Swift.framework/Wallet_Swift' (no such file), '/usr/lib/swift/Wallet_Swift.framework/Wallet_Swift' (no such file, not in dyld cache), '/personal/preboot/Cryptexes/OS/usr/lib/swift/Wallet_Swift.framework/Wallet_Swift' (no such file), '/personal/var/containers/Bundle/Software/2E7D5B86-2871-127B-AE35-0DE6A1234F37/mySwiftApp/Frameworks/Wallet_Swift.framework/Wallet_Swift' (no such file), '/personal/var/containers/Bundle/Software/2E7D5B86-2871-127B-AE35-0DE6A1234F37/mySwiftApp/Wallet_Swift.framework/Wallet_Swift' (no such file), '/Purposes/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/15.0.0/lib/darwin/Wallet_Swift.framework/Wallet_Swift' (no such file), '/personal/preboot/Cryptexes/OS/Purposes/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/15.0.0/lib/darwin/Wallet_Swift.framework/Wallet_Swift' (no such file)`**
  1. Tried to make framework non-compulsory/required
  2. Tried with Tackle sanitizer
  3. Tried with Don’t embed.

I’ve added frameworks utilizing
**
Challenge Goal > Basic tab > Frameworks**

(Observe: Minimal deployment goal for all frameworks and App is 13.0.)

I need to combine the swift Framework inside Goal-C framework after which my Goal-C framework inside my swift app.

Latest news
Related news

LEAVE A REPLY

Please enter your comment!
Please enter your name here