mapbox/mapbox-arkit-ios

setup.sh Carthage build fails due to swift 3 vs 4 incompatibilities, cocoapods instal aborts with a permissions violation

Closed this issue · 6 comments

Relevant files are attached. Trying to build MapboxDirections by hand gives error message indicating that it is unhappy with the Polyline swift language level being less than 4. Not sure why there is a permissions fail with the cocoapods;

relevant logs are attached as a zip archive:

Install logs .zip

From your Carthage log:

SDKROOT = iphoneos10.3

⬆️ it appears you are not using Xcode 9 Beta 5 or higher (iOS 11), at least not from the command line. You will probably need to use xcode-select to point to the beta Xcode once you have it installed before you attempt to build things from the command line like Carthage does.

I'm not sure about the CocoaPods issue. Is this from an attempt to use it in an application that you are building using an Xcode 9 Beta (not the setup.sh flow)? Can you share your podfile or a sample project that reproduces the issue?

@dang500 it looks like your attempt to attach a zip did not work. Maybe because you replied via email? Can you please attach the zip file using the GitHub issues interface for this issue? Thanks!

Here it is: MapboxTest.zip

Thanks @dang500. It looks like I made a mistake in the readme. Can you please try using https in the Podfile instead of ssh? So, something like this:

  # The MapboxARKit pod
  pod 'MapboxARKit', :git => 'https://github.com/mapbox/mapbox-arkit-ios.git'

  # The Turf-swift dependency must be installed manually in the client app until the Turf pod is published on CocoaPods
  pod 'Turf-swift', :git => 'https://github.com/mapbox/turf-swift.git'

9340a2b should address this confusion.