GRDB.swift: [Xcode 8.3] pod install don't work
Hi there,
I’m testing our app on iOS10.3 beta so I installed the beta version of Xcode.
I saw you made a specific branch for using GRDB with beta version of Xcode (that’s great!) but pod install
does not succeded because it cannot find the proper module.modulemap
file.
Here it is the error
Errno::ENOENT - No such file or directory @ rb_sysopen - /workspace/ios-radio/Pods/GRDB.swift/Support/module.modulemap
/usr/local/Cellar/ruby/2.4.0/lib/ruby/2.4.0/fileutils.rb:1282:in `initialize'
/usr/local/Cellar/ruby/2.4.0/lib/ruby/2.4.0/fileutils.rb:1282:in `open'
/usr/local/Cellar/ruby/2.4.0/lib/ruby/2.4.0/fileutils.rb:1282:in `copy_file'
/usr/local/Cellar/ruby/2.4.0/lib/ruby/2.4.0/fileutils.rb:423:in `copy_file'
/usr/local/Cellar/ruby/2.4.0/lib/ruby/2.4.0/fileutils.rb:350:in `block in cp'
/usr/local/Cellar/ruby/2.4.0/lib/ruby/2.4.0/fileutils.rb:1454:in `block in fu_each_src_dest'
/usr/local/Cellar/ruby/2.4.0/lib/ruby/2.4.0/fileutils.rb:1470:in `fu_each_src_dest0'
/usr/local/Cellar/ruby/2.4.0/lib/ruby/2.4.0/fileutils.rb:1452:in `fu_each_src_dest'
/usr/local/Cellar/ruby/2.4.0/lib/ruby/2.4.0/fileutils.rb:349:in `cp'
/usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.1.1/lib/cocoapods/installer/xcode/pods_project_generator/pod_target_installer.rb:345:in `block in create_module_map'
/usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.1.1/lib/cocoapods/user_interface.rb:142:in `message'
/usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.1.1/lib/cocoapods/installer/xcode/pods_project_generator/pod_target_installer.rb:344:in `create_module_map'
/usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.1.1/lib/cocoapods/installer/xcode/pods_project_generator/pod_target_installer.rb:27:in `block in install!'
/usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.1.1/lib/cocoapods/user_interface.rb:142:in `message'
/usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.1.1/lib/cocoapods/installer/xcode/pods_project_generator/pod_target_installer.rb:19:in `install!'
/usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.1.1/lib/cocoapods/installer/xcode/pods_project_generator.rb:155:in `block (2 levels) in install_libraries'
/usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.1.1/lib/cocoapods/installer/xcode/pods_project_generator.rb:153:in `each'
/usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.1.1/lib/cocoapods/installer/xcode/pods_project_generator.rb:153:in `block in install_libraries'
/usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.1.1/lib/cocoapods/user_interface.rb:142:in `message'
/usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.1.1/lib/cocoapods/installer/xcode/pods_project_generator.rb:152:in `install_libraries'
/usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.1.1/lib/cocoapods/installer/xcode/pods_project_generator.rb:64:in `generate!'
/usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.1.1/lib/cocoapods/installer.rb:179:in `block in generate_pods_project'
/usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.1.1/lib/cocoapods/user_interface.rb:64:in `section'
/usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.1.1/lib/cocoapods/installer.rb:178:in `generate_pods_project'
/usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.1.1/lib/cocoapods/installer.rb:115:in `install!'
/usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.1.1/lib/cocoapods/command/install.rb:37:in `run'
/usr/local/lib/ruby/gems/2.4.0/gems/claide-1.0.1/lib/claide/command.rb:334:in `run'
/usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.1.1/lib/cocoapods/command.rb:50:in `run'
/usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.1.1/bin/pod:55:in `<top (required)>'
/usr/local/bin/pod:22:in `load'
/usr/local/bin/pod:22:in `<main>'
Correctly, inside my project/Pods/GRDB.swift/Support there is no modulemap file. I see that you made a modulemap for each platform so I’m thinking the problem is in the podspec itself. You need to specify, for each platform, which is the correct modulemap file to load.
Am I right? Thanks for this great project BTW!
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 15 (9 by maintainers)
Commits related to this issue
- Embed a copy of sqlite3.h in order to work around my inability at importing <sqlite3.h> from all targeted SDKs (addresses #166, #170) — committed to groue/GRDB.swift by groue 7 years ago
- Embed a copy of sqlite3.h in order to work around my inability at importing <sqlite3.h> from all targeted SDKs (addresses #166, #170) — committed to groue/GRDB.swift by groue 7 years ago
Support for Xcode 8.3 has shipped in v0.104.0.
I already did my tests on the device, so I’m not blocked by this. I will be back on this with future releases of Xcode.
Thanks!