Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Library not loaded: @rpath/AppFramework.framework/AppFramework #1836

Open
lanseqiaokeli opened this issue Oct 11, 2022 · 0 comments
Open

Library not loaded: @rpath/AppFramework.framework/AppFramework #1836

lanseqiaokeli opened this issue Oct 11, 2022 · 0 comments

Comments

@lanseqiaokeli
Copy link

lanseqiaokeli commented Oct 11, 2022

Integration with Cocoapods,Xcode 14.0.1,EarlGrey 2.2.0,Compilation succeeded,But an error occurred at runtime:
dyld[6772]: Library not loaded: @rpath/AppFramework.framework/AppFramework
Referenced from: /private/var/containers/Bundle/Application/72BC7E92-E0CA-466E-AC3F-E7C198FF8BE4/TestCodeUp.app/TestCodeUp
Reason: tried: '/private/var/containers/Bundle/Application/72BC7E92-E0CA-466E-AC3F-E7C198FF8BE4/TestCodeUp.app/Frameworks/AppFramework.framework/AppFramework' (mach-o file (/private/var/containers/Bundle/Application/72BC7E92-E0CA-466E-AC3F-E7C198FF8BE4/TestCodeUp.app/Frameworks/AppFramework.framework/AppFramework), but incompatible platform (have 'iOS-sim', need 'iOS')), '/private/var/containers/Bundle/Application/72BC7E92-E0CA-466E-AC3F-E7C198FF8BE4/TestCodeUp.app/Frameworks/AppFramework.framework/AppFramework' (mach-o file (/private/var/containers/Bundle/Application/72BC7E92-E0CA-466E-AC3F-E7C198FF8BE4/TestCodeUp.app/Frameworks/AppFramework.framework/AppFramework), but incompatible platform (have 'iOS-sim', need 'iOS')), '/private/var/containers/Bundle/Application/72BC7E92-E0CA-466E-AC3F-E7C198FF8BE4/TestCodeUp.app/Frameworks/AppFramework.framework/AppFramework' (mach-o file (/private/var/containers/Bundle/Application/72BC7E92-E0CA-466E-AC3F-E7C198FF8BE4/TestCodeUp.app/Frameworks/AppFramework.framework/AppFramework), but incompatible platform (have 'iOS-sim', need 'iOS')), '/private/var/containers/Bundle/Application/72BC7E92-E0CA-466E-AC3F-E7C198FF8BE4/TestCodeUp.app/Frameworks/AppFramework.framework/AppFramework' (mach-o file (/private/var/containers/Bundle/Application/72BC7E92-E0CA-466E-AC3F-E7C198FF8BE4/TestCodeUp.app/Frameworks/AppFramework.framework/AppFramework), but incompatible platform (have 'iOS-sim', need 'iOS')), '/private/var/containers/Bundle/Application/72BC7E92-E0CA-466E-AC3F-E7C198FF8BE4/TestCodeUp.app/Frameworks/AppFramework.framework/AppFramework' (mach-o file (/private/var/containers/Bundle/Application/72BC7E92-E0CA-466E-AC3F-E7C198FF8BE4/TestCodeUp.app/Frameworks/AppFramework.framework/AppFramework), but incompatible platform (have 'iOS-sim', need 'iOS')), '/private/var/containers/Bundle/Application/72BC7E92-E0CA-466E-AC3F-E7C198FF8BE4/TestCodeUp.app/Frameworks/AppFramework.framework/AppFramework' (mach-o file (/private/var/containers/Bundle/Application/72BC7E92-E0CA-466E-AC3F-E7C198FF8BE4/TestCodeUp.app/Frameworks/AppFramework.framework/AppFramework), but incompatible platform (have 'iOS-sim', need 'iOS')), '/private/preboot/Cryptexes/OS@rpath/AppFramework.framework/AppFramework' (errno=2), '/private/var/containers/Bundle/Application/72BC7E92-E0CA-466E-AC3F-E7C198FF8BE4/TestCodeUp.app/Frameworks/AppFramework.framework/AppFramework' (mach-o file (/private/var/containers/Bundle/Application/72BC7E92-E0CA-466E-AC3F-E7C198FF8BE4/TestCodeUp.app/Frameworks/AppFramework.framework/AppFramework), but incompatible platform (have 'iOS-sim', need 'iOS')), '/private/var/containers/Bundle/Application/72BC7E92-E0CA-466E-AC3F-E7C198FF8BE4/TestCodeUp.app/Frameworks/AppFramework.framework/AppFramework' (mach-o file (/private/var/containers/Bundle/Application/72BC7E92-E0CA-466E-AC3F-E7C198FF8BE4/TestCodeUp.app/Frameworks/AppFramework.framework/AppFramework), but incompatible platform (have 'iOS-sim', need 'iOS')), '/private/var/containers/Bundle/Application/72BC7E92-E0CA-466E-AC3F-E7C198FF8BE4/TestCodeUp.app/Frameworks/AppFramework.framework/AppFramework' (mach-o file (/private/var/containers/Bundle/Application/72BC7E92-E0CA-466E-AC3F-E7C198FF8BE4/TestCodeUp.app/Frameworks/AppFramework.framework/AppFramework), but incompatible platform (have 'iOS-sim', need 'iOS')), '/private/var/containers/Bundle/Application/72BC7E92-E0CA-466E-AC3F-E7C198FF8BE4/TestCodeUp.app/Frameworks/AppFramework.framework/AppFramework' (mach-o file (/private/var/containers/Bundle/Application/72BC7E92-E0CA-466E-AC3F-E7C198FF8BE4/TestCodeUp.app/Frameworks/AppFramework.framework/AppFramework), but incompatible platform (have 'iOS-sim', need 'iOS')), '/private/var/containers/Bundle/Application/72BC7E92-E0CA-466E-AC3F-E7C198FF8BE4/TestCodeUp.app/Frameworks/AppFramework.framework/AppFramework' (mach-o file (/private/var/containers/Bundle/Application/72BC7E92-E0CA-466E-AC3F-E7C198FF8BE4/TestCodeUp.app/Frameworks/AppFramework.framework/AppFramework), but incompatible platform (have 'iOS-sim', need 'iOS')), '/private/var/containers/Bundle/Application/72BC7E92-E0CA-466E-AC3F-E7C198FF8BE4/TestCodeUp.app/Frameworks/AppFramework.framework/AppFramework' (mach-o file (/private/var/containers/Bundle/Application/72BC7E92-E0CA-466E-AC3F-E7C198FF8BE4/TestCodeUp.app/Frameworks/AppFramework.framework/AppFramework), but incompatible platform (have 'iOS-sim', need 'iOS')), '/System/Library/Frameworks/AppFramework.framework/AppFramework' (errno=2, not in dyld cache)
Library not loaded: @rpath/AppFramework.framework/AppFramework
Referenced from: /private/var/containers/Bundle/Application/72BC7E92-E0CA-466E-AC3F-E7C198FF8BE4/TestCodeUp.app/TestCodeUp
Reason: tried: '/private/var/containers/Bundle/Application/72BC7E92-E0CA-466E-AC3F-E7C198FF8BE4/TestCodeUp.app/Frameworks/AppFramework.framework/AppFramework' (mach-o file (/private/var/containers/Bundle/Application/72BC7E92-E0CA-466E-AC3F-E7C198FF8BE4/TestCodeUp.app/Frameworks/AppFramework.framework/AppFramework), but incompatible platform (have 'iOS-sim', need 'iOS')), '/private/var/containers/Bundle/Application/72BC7E92-E0CA-466E-AC3F-E7C198FF8BE4/TestCodeUp.app/Frameworks/AppFramework.framework/AppFramework' (mach-o file (/private/var/containers/Bundle/Application/72BC7E92-E0CA-466E-AC3F-E7C198FF8BE4/TestCodeUp.app/Frameworks/AppFramework.framework/AppFramework), but incompatible platform (have 'iOS-sim', need 'iOS')), '/private/var/containers/Bundle/Application/72BC7E92-E0CA-466
dyld config: DYLD_INSERT_LIBRARIES=@executable_path/Frameworks/AppFramework.framework/AppFramework:/usr/lib/libMainThreadChecker.dylib

Excuse me, how to solve this problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant