ios - App crashes with dyld when using private cocoapod -


i'm trying make pod framework similar how google has done using googlemaps there frameworks folder , resource folder, under pods/aboutui framework called aboutui. have managed using podspec file below

pod::spec.new |s|  s.name          = 'aboutui'  s.version       = '0.1.2'  s.summary       = 'aboutui customers customize.'  s.author        = 'bob'  s.license       = {:file=>'license',:type => 'bsd'}  s.source        = {:http => 'http://localhost/aboutui_0.1.2.zip'}  s.platform      = :ios, '8.0'  s.homepage      = 'https://some.url.com'  s.resource      = 'aboutui.framework/resources.bundle'  s.preserve_paths = 'aboutui.framework'  s.vendored_frameworks = 'aboutui.framework' end 

but error below when trying run app uses aboutui pod...

dyld: library not loaded: @rpath/aboutui.framework/aboutui referenced from: /private/var/mobile/containers/bundle/application/e4498bb8-a3ff-4949-abfb-13d7c2aea9ec/favoritecars.app/favoritecars reason: image not found

my solution problem follow https://medium.com/@syshen/create-an-ios-universal-framework-148eb130a46c , xcode 6 , embedded frameworks supported in ios8. besides trying set framework mach-o static library. did not have manually include framework project part of embedded binaries.


Comments

Popular posts from this blog

Android : Making Listview full screen -

javascript - Parse JSON from the body of the POST -

javascript - Chrome Extension: Interacting with iframe embedded within popup -