Open FedericoSub opened 6 years ago
Hi @FedericoSub, thanks for reporting. Unfortunately I have no idea why you have those errors. I would suggest searching for those error messages on stackoverflow.
I was facing the same problem. My problem was resolved by following these steps Delete application from mobile or simulator (wherever you are facing this issue). Close Xcode, open Terminal and enter the following command rm -rf ~/Library/Developer/Xcode/DerivedData This will remove all derived data from xcode. Open XCode, clean and run application. Hopefully, problem will be resolved.
Thanks for sharing your solution, @kilirushi 👍
:-( I tried kilirushi's procedure but same error .... what can I do ?
thanks
@FedericoSub, I would look for solutions on stackoverflow. It looks like a common problem other people are facing.
it is pod problem
just add this code to your pod file :
post_install do |installer| installer.pods_project.build_configurations.each do |config| config.build_settings.delete('CODE_SIGNING_ALLOWED') config.build_settings.delete('CODE_SIGNING_REQUIRED') end end
source : https://github.com/Skyscanner/SkyFloatingLabelTextField/issues/201#issuecomment-381915911
I'm seeing this too. Wanted to document here the error: IB Designables: Failed to render and update auto layout status for LocationDetialViewController (NPJ-QS-Arv): dlopen(Cosmos.framework, 1): no suitable image found. Did find: Cosmos.framework: required code signature missing for 'Cosmos.framework'
I'm going to try the solutions above
AliAlmezead .. WHERE in the podfile does one put this code? I've tried in about 5 different places. Can you show the code in the context of a full podfile?
kilirushi's answer worked for me..
Close Xcode, open Terminal and enter the following command rm -rf ~/Library/Developer/Xcode/DerivedData This will remove all derived data from xcode. Open XCode, clean and run application. Hopefully, problem will be resolved.
thanks AliAlmezead well done it's works for me. thanks everyone.
Anyone know if switching to Carthage fixes this .. since someone mentioned it was a pod problem
@bbookman this what I did :
first of all push your change to GitHub/or what you are use
close Xcode and delete DerivedData
open Podfile in your project , I added it before do target like this:
use_frameworks!
platform :ios, '9.0'
pod 'Cosmos', '~> 15.0'
post_install do |installer|
installer.pods_project.build_configurations.each do |config|
config.build_settings.delete('CODE_SIGNING_ALLOWED')
config.build_settings.delete('CODE_SIGNING_REQUIRED')
end
end
target 'yourTargetName' do
end
$ cd toYourProjectPath
$ pod update
good luck
Thank you so much for this!
Hi @bbookman , thanks for that it worked for me also.
One question though: do you need to leave that in the pod file forever, or is it just a once off and I can delete it once the problem is fixed?
Thanks
@ntkon I've left it in there. As far as i can tell there is no reason to change the podfile. Think about it this way, if you every had to update Cosmos you would probably have to have the statement in the podfile .. assuming this doesn't get fixed. so why not keep it there
@bbookman thanks, much appreciated.
@AliAlmezead Thank you very much. It worked for me.
Thank U!!!!!! I solved it!!!!!
when i am importing ibdesignable class in some podfile like JVFloatlabelTextField and cosmosview. Add post_install do |installer| installer.pods_project.build_configurations.each do |config| config.build_settings.delete('CODE_SIGNING_ALLOWED') config.build_settings.delete('CODE_SIGNING_REQUIRED') end end what is this? what is purpose of this comment
AliAlmezead Thanks. It worked for me
So, the solution by AliAlmezead worked. But what does the script in pod file does, BTW? I think it just disables Code Signing, i guess?
@AliAlmezead Thank you very much. It worked for me. (2)
Help me please, In Xcode 10 i this solution is not working anymore.
@bbookman this what I did :
- first of all push your change to GitHub/or what you are use
- close Xcode and delete DerivedData
- open Podfile in your project , I added it before do target like this:
use_frameworks! platform :ios, '9.0' pod 'Cosmos', '~> 15.0' post_install do |installer| installer.pods_project.build_configurations.each do |config| config.build_settings.delete('CODE_SIGNING_ALLOWED') config.build_settings.delete('CODE_SIGNING_REQUIRED') end end target 'yourTargetName' do end
- then in comand line do :
$ cd toYourProjectPath $ pod update
good luck
thanx brother @AliAlmezead its working for me
@bbookman this what I did :
- first of all push your change to GitHub/or what you are use
- close Xcode and delete DerivedData
- open Podfile in your project , I added it before do target like this:
use_frameworks! platform :ios, '9.0' pod 'Cosmos', '~> 15.0' post_install do |installer| installer.pods_project.build_configurations.each do |config| config.build_settings.delete('CODE_SIGNING_ALLOWED') config.build_settings.delete('CODE_SIGNING_REQUIRED') end end target 'yourTargetName' do end
- then in comand line do :
$ cd toYourProjectPath $ pod update
good luck
Thanks man. You can add Clean Build. It will show stars in the IB.
Please consider submitting the following information (if relevant):
After install with pod install in Storyboard set a View with custom class CosmosView but i have this error : LogBook.storyboard: error: IB Designables: Failed to render and update auto layout status for UIViewController (GJw-lE-8co): dlopen(Cosmos.framework, 1): no suitable image found. Did find: Cosmos.framework: required code signature missing for 'Cosmos.framework'
do you have any help?
thanks