-
Notifications
You must be signed in to change notification settings - Fork 218
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]: error while installing the pods #965
Comments
if anyone comes across this issue then please downgrade your Xcode version to 15 in my case I downgrade to 15.3 and still, there will be one more error for which you should refer to this thread and all your builds and testing will work as expected. |
not worked |
update your pods according to your new xcode version if you downgrade your xcode |
Hi here, the best solution is to upgrade xcodeproj to latest and cocoapods to latest. |
Hello everyone--appreciate the conversation here! It sounds like a solution has been shared so I will close out the issue. If there are any additional questions or concerns, please let us know! |
What happened?
when i try to install latest version of oneSIgnal SDK the pod install is not working on ios the
Steps to reproduce?
What did you expect to happen?
I expected it to install easily as I used one signal for many items in react native and this is my first time using one signal with Flutter
OneSignal Flutter SDK version
Release 5.2.6
Which platform(s) are affected?
Relevant log output
### Command /Users/apple/.rvm/gems/ruby-2.7.6/bin/pod install
Report
What did you do?
What did you expect to happen?
What happened instead?
Stack
Plugins
Podfile
Uncomment this line to define a global platform for your project
platform :ios, '13.0'
CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
project 'Runner', {
'Debug' => :debug,
'Profile' => :release,
'Release' => :release,
}
def flutter_root
generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), FILE)
unless File.exist?(generated_xcode_build_settings_path)
raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first"
end
File.foreach(generated_xcode_build_settings_path) do |line|
matches = line.match(/FLUTTER_ROOT=(.*)/)
return matches[1].strip if matches
end
raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get"
end
require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root)
flutter_ios_podfile_setup
target 'Runner' do
use_frameworks!
use_modular_headers!
flutter_install_all_ios_pods File.dirname(File.realpath(FILE))
target 'RunnerTests' do
inherit! :search_paths
end
end
post_install do |installer|
installer.pods_project.targets.each do |target|
flutter_additional_ios_build_settings(target)
end
end
target 'OneSignalNotificationServiceExtension' do
use_frameworks!
pod 'OneSignalXCFramework', '>= 5.0.0', '< 6.0'
end
RuntimeError -
'PBXGroup
attempted to initialize an object with unknown ISAPBXFileSystemSynchronizedRootGroup
from attributes:{"isa"=>"PBXFileSystemSynchronizedRootGroup", "exceptions"=>["18DD18082CCA1C6900C04461"], "explicitFileTypes"=>{}, "explicitFolders"=>[], "path"=>"OneSignalNotificationServiceExtension", "sourceTree"=>"<group>"}
If this ISA was generated by Xcode please file an issue: https://github.com/CocoaPods/Xcodeproj/issues/new
/Users/apple/.rvm/rubies/ruby-2.7.6/lib/ruby/gems/2.7.0/gems/xcodeproj-1.25.1/lib/xcodeproj/project/object.rb:359:in
rescue in object_with_uuid' /Users/apple/.rvm/rubies/ruby-2.7.6/lib/ruby/gems/2.7.0/gems/xcodeproj-1.25.1/lib/xcodeproj/project/object.rb:349:in
object_with_uuid'/Users/apple/.rvm/rubies/ruby-2.7.6/lib/ruby/gems/2.7.0/gems/xcodeproj-1.25.1/lib/xcodeproj/project/object.rb:300:in
block (2 levels) in configure_with_plist' /Users/apple/.rvm/rubies/ruby-2.7.6/lib/ruby/gems/2.7.0/gems/xcodeproj-1.25.1/lib/xcodeproj/project/object.rb:299:in
each'/Users/apple/.rvm/rubies/ruby-2.7.6/lib/ruby/gems/2.7.0/gems/xcodeproj-1.25.1/lib/xcodeproj/project/object.rb:299:in
block in configure_with_plist' /Users/apple/.rvm/rubies/ruby-2.7.6/lib/ruby/gems/2.7.0/gems/xcodeproj-1.25.1/lib/xcodeproj/project/object.rb:296:in
each'/Users/apple/.rvm/rubies/ruby-2.7.6/lib/ruby/gems/2.7.0/gems/xcodeproj-1.25.1/lib/xcodeproj/project/object.rb:296:in
configure_with_plist' /Users/apple/.rvm/rubies/ruby-2.7.6/lib/ruby/gems/2.7.0/gems/xcodeproj-1.25.1/lib/xcodeproj/project.rb:272:in
new_from_plist'/Users/apple/.rvm/rubies/ruby-2.7.6/lib/ruby/gems/2.7.0/gems/xcodeproj-1.25.1/lib/xcodeproj/project/object.rb:350:in
object_with_uuid' /Users/apple/.rvm/rubies/ruby-2.7.6/lib/ruby/gems/2.7.0/gems/xcodeproj-1.25.1/lib/xcodeproj/project/object.rb:290:in
block in configure_with_plist'/Users/apple/.rvm/rubies/ruby-2.7.6/lib/ruby/gems/2.7.0/gems/xcodeproj-1.25.1/lib/xcodeproj/project/object.rb:287:in
each' /Users/apple/.rvm/rubies/ruby-2.7.6/lib/ruby/gems/2.7.0/gems/xcodeproj-1.25.1/lib/xcodeproj/project/object.rb:287:in
configure_with_plist'/Users/apple/.rvm/rubies/ruby-2.7.6/lib/ruby/gems/2.7.0/gems/xcodeproj-1.25.1/lib/xcodeproj/project.rb:272:in
new_from_plist' /Users/apple/.rvm/rubies/ruby-2.7.6/lib/ruby/gems/2.7.0/gems/xcodeproj-1.25.1/lib/xcodeproj/project.rb:213:in
initialize_from_file'/Users/apple/.rvm/rubies/ruby-2.7.6/lib/ruby/gems/2.7.0/gems/xcodeproj-1.25.1/lib/xcodeproj/project.rb:113:in
open' /Users/apple/.rvm/gems/ruby-2.7.6/gems/cocoapods-1.15.2/lib/cocoapods/installer/analyzer.rb:1194:in
block (2 levels) in inspect_targets_to_integrate'/Users/apple/.rvm/gems/ruby-2.7.6/gems/cocoapods-1.15.2/lib/cocoapods/installer/analyzer.rb:1193:in
each' /Users/apple/.rvm/gems/ruby-2.7.6/gems/cocoapods-1.15.2/lib/cocoapods/installer/analyzer.rb:1193:in
block in inspect_targets_to_integrate'/Users/apple/.rvm/gems/ruby-2.7.6/gems/cocoapods-1.15.2/lib/cocoapods/user_interface.rb:64:in
section' /Users/apple/.rvm/gems/ruby-2.7.6/gems/cocoapods-1.15.2/lib/cocoapods/installer/analyzer.rb:1188:in
inspect_targets_to_integrate'/Users/apple/.rvm/gems/ruby-2.7.6/gems/cocoapods-1.15.2/lib/cocoapods/installer/analyzer.rb:107:in
analyze' /Users/apple/.rvm/gems/ruby-2.7.6/gems/cocoapods-1.15.2/lib/cocoapods/installer.rb:422:in
analyze'/Users/apple/.rvm/gems/ruby-2.7.6/gems/cocoapods-1.15.2/lib/cocoapods/installer.rb:244:in
block in resolve_dependencies' /Users/apple/.rvm/gems/ruby-2.7.6/gems/cocoapods-1.15.2/lib/cocoapods/user_interface.rb:64:in
section'/Users/apple/.rvm/gems/ruby-2.7.6/gems/cocoapods-1.15.2/lib/cocoapods/installer.rb:243:in
resolve_dependencies' /Users/apple/.rvm/gems/ruby-2.7.6/gems/cocoapods-1.15.2/lib/cocoapods/installer.rb:162:in
install!'/Users/apple/.rvm/gems/ruby-2.7.6/gems/cocoapods-1.15.2/lib/cocoapods/command/install.rb:52:in
run' /Users/apple/.rvm/rubies/ruby-2.7.6/lib/ruby/gems/2.7.0/gems/claide-1.1.0/lib/claide/command.rb:334:in
run'/Users/apple/.rvm/gems/ruby-2.7.6/gems/cocoapods-1.15.2/lib/cocoapods/command.rb:52:in
run' /Users/apple/.rvm/gems/ruby-2.7.6/gems/cocoapods-1.15.2/bin/pod:55:in
<top (required)>'/Users/apple/.rvm/gems/ruby-2.7.6/bin/pod:25:in
load' /Users/apple/.rvm/gems/ruby-2.7.6/bin/pod:25:in
/Users/apple/.rvm/gems/ruby-2.7.6/bin/ruby_executable_hooks:22:in
eval' /Users/apple/.rvm/gems/ruby-2.7.6/bin/ruby_executable_hooks:22:in
'Code of Conduct
The text was updated successfully, but these errors were encountered: