Hello Guys,
since i installed the Firebase framework with Cocoapods, my App crashes when i start it on a real iPhone. My iPhone has the newest software and i did also tried it with multiple iPhones. I dont know why, but my app works perfectly on the simulator. I think the problem may be the signing and embedding of the frameworks, because if i try to embed and sign the frameworks in my project, i get the following error message:
Multiple commands produce '/Users/henri/Library/Developer/Xcode/DerivedData/Zeiterfassung_SU_Rendsburg-decchxyxmgolbxebhkvzzytikpcl/Build/Products/Debug-iphoneos/Zeiterfassung SU Rendsburg.app/Frameworks/leveldb.framework':
1) Target 'Zeiterfassung SU Rendsburg' has copy command from '/Users/henri/Library/Developer/Xcode/DerivedData/Zeiterfassung_SU_Rendsburg-decchxyxmgolbxebhkvzzytikpcl/Build/Products/Debug-iphoneos/leveldb.framework' to '/Users/henri/Library/Developer/Xcode/DerivedData/Zeiterfassung_SU_Rendsburg-decchxyxmgolbxebhkvzzytikpcl/Build/Products/Debug-iphoneos/Zeiterfassung SU Rendsburg.app/Frameworks/leveldb.framework'
2) That command depends on command in Target 'Zeiterfassung SU Rendsburg': script phase “[CP] Embed Pods Frameworks”
Heres the output of the app:
dyld: Library not loaded: @rpath/FBLPromises.framework/FBLPromises
Referenced from: /private/var/containers/Bundle/Application/C8715466-8259-489C-8085-0F217F25750D/Zeiterfassung SU Rendsburg.app/Zeiterfassung SU Rendsburg
Reason: no suitable image found. Did find:
/private/var/containers/Bundle/Application/C8715466-8259-489C-8085-0F217F25750D/Zeiterfassung SU Rendsburg.app/Frameworks/FBLPromises.framework/FBLPromises: code signature invalid for '/private/var/containers/Bundle/Application/C8715466-8259-489C-8085-0F217F25750D/Zeiterfassung SU Rendsburg.app/Frameworks/FBLPromises.framework/FBLPromises'
/private/var/containers/Bundle/Application/C8715466-8259-489C-8085-0F217F25750D/Zeiterfassung SU Rendsburg.app/Frameworks/FBLPromises.framework/FBLPromises: stat() failed with errno=25
/private/var/containers/Bundle/Application/C8715466-8259-489C-8085-0F217F25750D/Zeiterfassung SU Rendsburg.app/Frameworks/FBLPromises.framework/FBLPromises: code signature invalid for '/private/var/containers/Bundle/Application/C8715466-8259-489C-8085-0F217F25750D/Zeiterfassung SU Rendsburg.app/Frameworks/FBLPromises.framework/FBLPromises'
/private/var/containers/Bundle/Application/C8715466-8259-489C-8085-0F217F25750D/Zeiterfassung SU Rendsburg.app/Frameworks/FBLPromises.framework/FBLPromises: stat() failed with errno=1
/private/var/containers/Bundle/Application/C8715466-8259-489C-8085-0F217F25750D/Zeiterfassung SU Rendsburg.app/Frameworks/FBLPromises.framework/FBLPromises: code signature invalid for '/private/var/containers/Bundle/Application/C8715466-8259-489C-8085-0F217F25750D/Zeiterfassung SU Rendsburg.app/Frameworks/FBLPromises.framework/FBLPromises'
/private/var/containers/Bundle/Application/C8715466-8259-489C-8085-0F217F25750D/Zeiterfassung SU Rendsburg.app/Frameworks/FBLPromises.framework/FBLPromises: stat() failed with errno=1
(lldb)
Does anybody know why this happens and how i could fix it? Thank you guys.
Kind regards
Henri