I have a problem when using an embedded framework in RubyMotion.
This framework compile successfully in Xcode.
In RubyMotion, the framework compiles successfully in simulator, but fail in device.
(This framework has different versions for simulator and device though)
Xcode version 7.0 / 7.2.1
RubyMotion version 4.11
Create build/iPhoneOS-8.0-Release/Omnitech SA.app/Info.plist
Strip build/iPhoneOS-8.0-Release/Omnitech SA.app/Omnitech SA
Create build/iPhoneOS-8.0-Release/Omnitech SA.app/embedded.mobileprovision
Codesign build/iPhoneOS-8.0-Release/Omnitech SA.app/Frameworks/NedapIdReader.framework
Warning: usage of --preserve-metadata with option "resource-rules" (deprecated in Mac OS X >= 10.10)!
build/iPhoneOS-8.0-Release/Omnitech SA.app/Frameworks/NedapIdReader.framework: replacing existing signature
build/iPhoneOS-8.0-Release/Omnitech SA.app/Frameworks/NedapIdReader.framework: invalid resource directory (directory or signature have been modified)
Command failed with status (1): [CODESIGN_ALLOCATE="/Applications/Xcode721....]
/Library/RubyMotion/lib/motion/project/template/ios/builder.rb:89:in `block in codesign'
Test project with the framework: