Closed freak4pc closed 5 years ago
@freak4pc thanks for opening a PR.
We have a few questions on our end: 1) what version of Cocoapods/Xcode are you using? 2) could you provide concrete steps to repro?
We have a number of sample apps that do not link CoreTelephony and successfully build with the public Appboy pod using Cocoapods 1.6.1 and XCode 10.1
I'm on 1.7.0.rc1 and Xcode 10.2.1. I'll see if I can make a standalone repro project.
@Bucimis Able to reproduce it with CocoaPods 1.6.0 and Xcode 10.2.1. AppBoyTest.zip
Or just make a blank project with this Podfile
:
target 'AppBoyTest' do
use_frameworks!
# Build Fails:
pod 'Appboy-iOS-SDK', '3.12.0'
# Builds (Uncomment to test):
# pod 'Appboy-iOS-SDK', :git => 'https://github.com/freak4pc/appboy-ios-sdk', :branch => 'coretelephony-nonweak'
end
Apparently this was fixed in 1.6.1. Your project was an example for the bug :)
For some reason,
CoreTelephony
is weakly linked even though it is mandatory for building the AppBoy SDK.Otherwise build fails with CocoaPods: