Comments (11)
Hi @Clifton-Roberts, may I ask which cocoapods version you are using for the pod install
and pod update
?
from appboy-ios-sdk.
Hey, @Wenzhi, I'm using version 0.38.0
.
from appboy-ios-sdk.
@Clifton-Roberts It seems that Cocoapods 0.38.0
change the way of building a dynamic framework from a static library. I'm still looking at it and trying to find a way to workaround.
Are you using use_frameworks!
in your Podfile? If you don't, directly use the static library should work.
from appboy-ios-sdk.
@Wenzhi We do have use_frameworks!
in our Podfile. Unfortunately, I don't see a way to disable this on an individual basis.
from appboy-ios-sdk.
Might this fix the issue? CocoaPods/CocoaPods#3859
from appboy-ios-sdk.
Thank you for helping the investigation! I saw the issue too, but I'm not really sure if it's going to fix the problem.
The issue Undefined symbols
usually is a linker issue or a library/framework search path issue. From the xcconfig files Cocoapods generated, they are all pointing to the Appboy_iOS_SDK.framework in the build folder. However, in Cocoapods 0.37.2
, the file Appboy_iOS_SDK.framework/Appboy_iOS_SDK
was 1.3MB, while in 0.38.0
, the file is only 12KB, which makes me think the library might not be bundled in the framework properly.
I'm going to file an issue on the Cocoapods repo. I think for now, you can either downgrade your Cocoapods back to 0.37.2 to make it work, or use the manual integration. Usually the Cocoapods community respond fast; we'll also look into Cocoapods source to see if we can track down the issue.
from appboy-ios-sdk.
Yes, the referenced PR almost certainly won't fix this issue. It only affects header search paths, and since everything is compiling fine, that's not the issue here.
from appboy-ios-sdk.
Potentially relevant: CocoaPods/CocoaPods#3773
from appboy-ios-sdk.
Thank you @perotinus ! I filed a new issue CocoaPods/CocoaPods#3870 mentioning it.
from appboy-ios-sdk.
Here is the fix...
We're able to fix this locally with this in our Podfile:
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
if target.name == "Appboy-iOS-SDK"
config.build_settings["OTHER_LDFLAGS"] = '$(inherited) "-ObjC"'
end
end
end
end
from appboy-ios-sdk.
Thank you so much @jkopelioff ! I'll also test it and then update our documentation and our sample code.
from appboy-ios-sdk.
Related Issues (20)
- [Bug]: HOT 3
- [Feature]: Modal In-app message could be dismissed also by tapping on blurred background HOT 2
- Test Issue
- [Bug]: Appboy-iOS-SDK 4.4.3 + not Archiving with Bitrise HOT 3
- [Bug]: Appboy ios SDK 4.4.4 archive failed HOT 4
- [Bug]: Blank UIWindow when IAM received HOT 2
- [Feature]: Need Asynchronous callback when dispatch to server is completed HOT 6
- [Bug]: Geofence not working at all HOT 2
- [Bug]: Previews not working on Xcode 14.X HOT 6
- [Bug]: ABKUIUtils.activeWindowScene sometimes is wrong HOT 3
- [Bug]: Background Task will cause a risk of termination from [ABKService processRequest:] HOT 4
- [Bug]: Appboy 4.5.2 has been crashed when try to use method "logPurchse:" HOT 8
- [Bug]: UI unresponsiveness if invoked on the main thread HOT 3
- [Feature]: methods for handling `brazeAction` uri's HOT 1
- [Bug]: Push notification received after `Appboy.disableSDK` HOT 4
- [Feature]: HOT 2
- [Bug]: SDWebImage dependency. HOT 1
- [Bug]: ABKCustomPropertyUtils validateArray HOT 6
- [Bug]: From 4.2.0 to 4.5.4, deviceToken registration fails. No push dialog box is displayed HOT 9
- [Feature]: Upgrade SDWebImage to latest HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from appboy-ios-sdk.