{"action":"opened","issue":{"url":"https://api.github.com/repos/Alamofire/Alamofire/issues/2612","repository_url":"https://api.github.com/repos/Alamofire/Alamofire","labels_url":"https://api.github.com/repos/Alamofire/Alamofire/issues/2612/labels{/name}","comments_url":"https://api.github.com/repos/Alamofire/Alamofire/issues/2612/comments","events_url":"https://api.github.com/repos/Alamofire/Alamofire/issues/2612/events","html_url":"https://github.com/Alamofire/Alamofire/issues/2612","id":364547905,"node_id":"MDU6SXNzdWUzNjQ1NDc5MDU=","number":2612,"title":"Build fails on Travis with: unable to load standard library for target 'armv7-apple-ios8.0-simulator","user":{"login":"phranck","id":871198,"node_id":"MDQ6VXNlcjg3MTE5OA==","avatar_url":"https://avatars1.githubusercontent.com/u/871198?v=4","gravatar_id":"","url":"https://api.github.com/users/phranck","html_url":"https://github.com/phranck","followers_url":"https://api.github.com/users/phranck/followers","following_url":"https://api.github.com/users/phranck/following{/other_user}","gists_url":"https://api.github.com/users/phranck/gists{/gist_id}","starred_url":"https://api.github.com/users/phranck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phranck/subscriptions","organizations_url":"https://api.github.com/users/phranck/orgs","repos_url":"https://api.github.com/users/phranck/repos","events_url":"https://api.github.com/users/phranck/events{/privacy}","received_events_url":"https://api.github.com/users/phranck/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-27T16:05:08Z","updated_at":"2018-09-27T16:05:08Z","closed_at":null,"author_association":"NONE","body":"We switched our project to Xcode 10 with Swift 4.2, and so we does for our `.travis.yml`. But Travis fails on building when it comes to Alamofire. I started a debug build and had a look into the log file. It says:\r\n\r\n```\r\n<unknown>:0: error: unable to load standard library for target 'armv7-apple-ios8.0-simulator'\r\n\r\n** ARCHIVE FAILED **\r\n\r\nThe following build commands failed:\r\n        CompileSwift normal arm64\r\n        CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler\r\n        CompileSwift normal armv7\r\n        CompileSwiftSources normal armv7 com.apple.xcode.tools.swift.compiler\r\n(4 failures)\r\n```\r\nI think this `ios8.0-simulator` is a result of Alamofire's deployment target of iOS 8.0.\r\n\r\nSo, now I'm struggling a bit of how to investigate if it's an issue with Travis or Alamofire itself.  \r\nOur `.travis.yml` looks like this:\r\n\r\n```\r\nlanguage: objective-c\r\nosx_image: xcode10\r\n\r\ncache:\r\n  directories:\r\n    - Carthage\r\n    - CookIslands/Carthage\r\n\r\nenv:\r\n  #environment variables\r\n  global:\r\n    - LANG=en_US.UTF-8\r\n    - LC_ALL=en_US.UTF-8\r\n    - PROJECT_NAME=\"OUR_PROJECT.xcodeproj\"\r\n    - SCHEME_IOS_FRAMEWORK=\"OUR_FRAMEWORK_iOS\"\r\n    - SCHEME_IOS=\"OUR_SCHEME\"\r\n    - IOS_SDK=iphonesimulator12.0\r\n  matrix:\r\n    - DESTINATION=\"OS=12.0,name=iPhone X\" SCHEME=\"$SCHEME_IOS\" SDK=\"$IOS_SDK\"\r\n\r\nbefore_install:\r\n  - brew update\r\n  - brew upgrade carthage || true\r\n  - git submodule update --remote\r\n  - gem install license_finder\r\n\r\nscript:\r\n  - xcodebuild test -project \"$PROJECT_NAME\" -scheme \"$SCHEME\" -destination \"$DESTINATION\" -sdk \"$SDK\" CODE_SIGNING_REQUIRED=NO ONLY_ACTIVE_ARCH=NO\r\n```\r\n\r\nIs there any issue known with Xcode 10, Swift 4.2, Alamofire 4.7.3 using Travis?\r\n\r\n## Alamofire Environment\r\n\r\n**Alamofire version:** 4.7.3  \r\n**Xcode version:** 10  \r\n**Swift version:** 4.2  \r\n**Platform(s) running Alamofire:**  iOS 12, tvOS 12\r\n**macOS version running Xcode:** Mojave"}}
{"actor":{"display_login":"phranck"}}