objective c - Xcode - Created an iOS framework but can't use it in a project -
i've created ios framework tutorial: http://www.raywenderlich.com/65964/create-a-framework-for-ios#comments
when add new project, can import public header , can build successfully. problem comes when try create instance of object framework; when building it, fails 40 errors:
all errors displayed this:
apple mach-o linker error "_objc_class_$_avplayeritem < example.
at bottom shows message > symbol(s) not found architecture arm64
at first thought problem framework created wasn't supporting arm64. executed following line in terminal check architectures supported framework:
xcrun lipo -info myframework
the output > architectures in fat file: myframework are: armv7 i385 x86_64 arm64
i'm using xcode 6.4.
thank you.
update: here images of error list:
thanks!
i wrong think in myframework project used several ios frameworks avfoundation , c++ standard library (libstdc++.6.dylib). in fat library don't have them. need add dependencies manually project.
another tutorial creating ios framework ios framework tutorial
Comments
Post a Comment