i have project in swift use libraries. when run on simulators or on physical device, runs perfectly. time try archive project send store, receive following error message:
ld: library not found -lfirebase
the problem when use xlform
library, last modification have done podfile
.
i using .xcworkspace
since started using cocoapods, , have never had problem before.
my podfile
:
# uncomment line define global platform project # platform :ios, '8.0' # uncomment line if you're using swift # use_frameworks! pod 'firebase', '= 2.5.0' pod 'google/cloudmessaging' pod 'google' pod 'google/analytics' pod 'xlform', '~> 3.0' target 'dimmi' end target 'dimmitests' end target 'dimmiuitests' end
the xlform library not depends on other library or framework. also, tried install manually no success.
you need create bridging header file , import objective-c framework through it.
create new header file , name in following pattern:
projectname-bridging-header.h
then add framework header it
#import framework.h
then add bridging header build settings under objective-c bridging header
.
Comments
Post a Comment