Create framework within framework

2018-04-09T11:55:16

i got some problem when i trying to include framework within framework. i try to make subframework in swift language. when i run in simulator work perfectly but in device i have error “Reason: no suitable image found. Did find:”

the following is an error message:

dyld: Library not loaded: @rpath/xxx.framework/xxx Referenced from: /private/var/containers/Bundle/Application/81D1C716-915E-4DCA-893D-F934D56C8BAD/customDemo.app/Frameworks/custom.framework/custom Reason: no suitable image found. Did find: /private/var/containers/Bundle/Application/81D1C716-915E-4DCA-893D-F934D56C8BAD/customDemo.app/Frameworks/custom.framework/Frameworks/xxx.framework/xxx: mmap() error 1 at address=0x00169000, size=0x000E8000 segment=__TEXT in Segment::map() mapping /private/var/containers/Bundle/Application/81D1C716-915E-4DCA-893D-F934D56C8BAD/customDemo.app/Frameworks/custom.framework/Frameworks/xxx.framework/xxx

Copyright License:
Author:「Dodi」,Reproduced under the CC 4.0 BY-SA copyright license with link to original source & disclaimer.
Link to:https://stackoverflow.com/questions/49725297/create-framework-within-framework

About “Create framework within framework” questions

i got some problem when i trying to include framework within framework. i try to make subframework in swift language. when i run in simulator work perfectly but in device i have error “Reason: no
I have a framework(FRAME1) that includes versions a b and c this is then included as a dependency within another framework(FRAME2). However when I build FRAME2 it dies out with: ld:framework not...
I am creating a framework for an iOS and my framework contains UI(Visual Presentation) as well now I want to write XCTest for my framework and I am able write and run the unit Test as we do within
I am working on a framework which contains Visual Representation(UI) and I have written some UI tests into it but I am not able to run UITest written within framework. Could anyone please guide me
Update I've since spent time learning how to use install_name_tool & otool to do this properly, and documented the process here: Using Frameworks Within NSBundles I would like to use the Conn...
I have a scenario where I need to package some common code into a Swift only framework. I have found many tutorials on how to do this but all involve creating a framework within an iOS app. My goal...
I have developed a Framework which at some point will try to request the device's location. As I understand it, every App which includes this Framework will have to add a
I built a framework and a cocoa application in Mac OS X. The framework is dynamically linked to the application. In a class of the framework, I need to read a resource file within this framework's
I'm trying to create a custom Swift Framework. Within that Framework I've added the Bolts Framework. When trying to use my new Swift Framework in another projects, I get the following error: frame...
Is is possible to overrule PHP's native functions? In my case looking for a way to overrule the empty() function only within my (own) framework. This is because of auto generated datamodels which s...

Copyright License:Reproduced under the CC 4.0 BY-SA copyright license with link to original source & disclaimer.