-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: M1 Mac issues with Pod #662
Comments
I should add that I have tried all the methods for updating cocoapods from other platforms. This enabled me to build with teh Facebook sdk but since adding the OneSignal sdk, things are broken again. |
What version of Cocoapods and Ruby are you using? |
ruby=2.6.10.p210 |
Could you update Cocoapods to 1.11.3 and ruby to 2.7.5+? Your Cocoapods version most likely doesn’t support our pod |
Ok i tried updating, i ended up with teh latest version of Ruby. I can still build my facebook pods but If i onesignal to the project I now get this error: `iOS framework addition failed due to a CocoaPods installation failure. This will will likely result in an non-functional Xcode project. After the failure, "pod repo update" was executed and failed. "pod install" was then attempted again, and still failed. This may be due to a broken CocoaPods installation. See: https://guides.cocoapods.org/using/troubleshooting.html for potential solutions. pod install output: Analyzing dependencies ――― MARKDOWN TEMPLATE ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― Command
Report
Stack
Plugins
Podfilesource 'https://cdn.cocoapods.org/'
platform :ios, '12.0'
target 'UnityFramework' do
pod 'FBSDKCoreKit', '~> 16.0.1'
pod 'FBSDKCoreKit_Basics', '~> 16.0.1'
pod 'FBSDKGamingServicesKit', '~> 16.0.1'
pod 'FBSDKLoginKit', '~> 16.0.1'
pod 'FBSDKShareKit', '~> 16.0.1'
pod 'OneSignalXCFramework', '5.0.2'
end
target 'Unity-iPhone' do
pod 'FBSDKCoreKit', '~> 16.0.1'
pod 'FBSDKCoreKit_Basics', '~> 16.0.1'
pod 'FBSDKGamingServicesKit', '~> 16.0.1'
pod 'FBSDKLoginKit', '~> 16.0.1'
pod 'FBSDKShareKit', '~> 16.0.1'
pod 'OneSignalXCFramework', '5.0.2'
end
use_frameworks! :linkage => :static
target 'OneSignalNotificationServiceExtension' do
pod 'OneSignalXCFramework', '5.0.2'
end Error
――― TEMPLATE END ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― [!] Oh no, an error occurred. If none exists, create a ticket, with the template displayed above, on: Be sure to first read the contributing guide for details on how to properly submit a ticket: Don't forget to anonymize any private data! Looking for related issues on cocoapods/cocoapods... Searching for inspections failed: undefined method `map' for nil:NilClass pod repo update output: Updating spec repo ――― MARKDOWN TEMPLATE ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― Command
Report
Stack
Plugins
Podfilesource 'https://cdn.cocoapods.org/'
platform :ios, '12.0'
target 'UnityFramework' do
pod 'FBSDKCoreKit', '~> 16.0.1'
pod 'FBSDKCoreKit_Basics', '~> 16.0.1'
pod 'FBSDKGamingServicesKit', '~> 16.0.1'
pod 'FBSDKLoginKit', '~> 16.0.1'
pod 'FBSDKShareKit', '~> 16.0.1'
pod 'OneSignalXCFramework', '5.0.2'
end
target 'Unity-iPhone' do
pod 'FBSDKCoreKit', '~> 16.0.1'
pod 'FBSDKCoreKit_Basics', '~> 16.0.1'
pod 'FBSDKGamingServicesKit', '~> 16.0.1'
pod 'FBSDKLoginKit', '~> 16.0.1'
pod 'FBSDKShareKit', '~> 16.0.1'
pod 'OneSignalXCFramework', '5.0.2'
end
use_frameworks! :linkage => :static
target 'OneSignalNotificationServiceExtension' do
pod 'OneSignalXCFramework', '5.0.2'
end Error
|
I realised it was using the latest version of cocoapods so i downgraded but i get the same error. Any help would be appreciated. |
It could be an issue with using homebrew cocoapods, could you try using the gem directly instead?
Also the latest version of cocoapods should be compatible as well, sorry for the confusion before |
Closing due to inactivity |
What happened?
After installing the OneSignal sdk, i can no longer build for iOS.
`iOS framework addition failed due to a CocoaPods installation failure. This will will likely result in an non-functional Xcode project.
After the failure, "pod repo update" was executed and failed. "pod install" was then attempted again, and still failed. This may be due to a broken CocoaPods installation. See: https://guides.cocoapods.org/using/troubleshooting.html for potential solutions.
pod install output:
Analyzing dependencies
[!] CDN: trunk URL couldn't be downloaded: https://cdn.cocoapods.org/all_pods_versions_d_f_3.txt Response: URL using bad/illegal format or missing URL
Ignoring json-1.8.6 because its extensions are not built. Try: gem pristine json --version 1.8.6`
Just to note, I also have the Facebook SDK which was working with cocoapods. Adding the OneSignal sdk has stopped this.
Steps to reproduce?
What did you expect to happen?
It to build.
Unity version
2022.3.11
OneSignal Unity SDK version
5.0.5
Platform
iOS
Relevant log output
Code of Conduct
The text was updated successfully, but these errors were encountered: