{"action":"created","issue":{"url":"https://api.github.com/repos/realm/realm-cocoa/issues/3796","repository_url":"https://api.github.com/repos/realm/realm-cocoa","labels_url":"https://api.github.com/repos/realm/realm-cocoa/issues/3796/labels{/name}","comments_url":"https://api.github.com/repos/realm/realm-cocoa/issues/3796/comments","events_url":"https://api.github.com/repos/realm/realm-cocoa/issues/3796/events","html_url":"https://github.com/realm/realm-cocoa/issues/3796","id":162031523,"number":3796,"title":"Documentation for Xcode 8","user":{"login":"austinzheng","id":3687054,"avatar_url":"https://avatars.githubusercontent.com/u/3687054?v=3","gravatar_id":"","url":"https://api.github.com/users/austinzheng","html_url":"https://github.com/austinzheng","followers_url":"https://api.github.com/users/austinzheng/followers","following_url":"https://api.github.com/users/austinzheng/following{/other_user}","gists_url":"https://api.github.com/users/austinzheng/gists{/gist_id}","starred_url":"https://api.github.com/users/austinzheng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/austinzheng/subscriptions","organizations_url":"https://api.github.com/users/austinzheng/orgs","repos_url":"https://api.github.com/users/austinzheng/repos","events_url":"https://api.github.com/users/austinzheng/events{/privacy}","received_events_url":"https://api.github.com/users/austinzheng/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/realm/realm-cocoa/labels/T:Doc","name":"T:Doc","color":"bfe5bf"}],"state":"closed","locked":false,"assignee":{"login":"austinzheng","id":3687054,"avatar_url":"https://avatars.githubusercontent.com/u/3687054?v=3","gravatar_id":"","url":"https://api.github.com/users/austinzheng","html_url":"https://github.com/austinzheng","followers_url":"https://api.github.com/users/austinzheng/followers","following_url":"https://api.github.com/users/austinzheng/following{/other_user}","gists_url":"https://api.github.com/users/austinzheng/gists{/gist_id}","starred_url":"https://api.github.com/users/austinzheng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/austinzheng/subscriptions","organizations_url":"https://api.github.com/users/austinzheng/orgs","repos_url":"https://api.github.com/users/austinzheng/repos","events_url":"https://api.github.com/users/austinzheng/events{/privacy}","received_events_url":"https://api.github.com/users/austinzheng/received_events","type":"User","site_admin":false},"assignees":[{"login":"austinzheng","id":3687054,"avatar_url":"https://avatars.githubusercontent.com/u/3687054?v=3","gravatar_id":"","url":"https://api.github.com/users/austinzheng","html_url":"https://github.com/austinzheng","followers_url":"https://api.github.com/users/austinzheng/followers","following_url":"https://api.github.com/users/austinzheng/following{/other_user}","gists_url":"https://api.github.com/users/austinzheng/gists{/gist_id}","starred_url":"https://api.github.com/users/austinzheng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/austinzheng/subscriptions","organizations_url":"https://api.github.com/users/austinzheng/orgs","repos_url":"https://api.github.com/users/austinzheng/repos","events_url":"https://api.github.com/users/austinzheng/events{/privacy}","received_events_url":"https://api.github.com/users/austinzheng/received_events","type":"User","site_admin":false}],"milestone":null,"comments":27,"created_at":"2016-06-23T21:49:25Z","updated_at":"2016-09-15T18:22:33Z","closed_at":"2016-08-01T20:22:06Z","body":"Hoping to get feedback for this preliminary, working set of instructions for building for Swift 3 and/or Xcode 8.\r\n\r\nSome questions:\r\n* Where should these instructions live?\r\n* Are we going to allow people to use CocoaPods today to build Realm for Swift 3?\r\n\r\n@jpsim @tgoyne @bdash \r\n\r\n-------\r\n\r\n## Building Realm from source for Xcode 8 Beta\r\n\r\n**Important**: Realm for Xcode 8 is not officially supported; the instructions below are intended for developers who are working to port their applications to Swift 2.3 or Swift 3, or otherwise using Xcode 8. During the preview period, the only way to obtain Realm for Xcode 8 is by building from source; we are not supporting dependency managers or providing pre-packaged binaries.\r\n\r\n**Prerequisites**: you must have a valid Apple Developer account, with certificates for iOS and/or macOS. Go to https://developer.apple.com and update your certificates if necessary.\r\n\r\n1. Clone the Realm Cocoa repository. (Run the Terminal command `git clone git@github.com:realm/realm-cocoa.git` in whatever directory you want the repository to be stored in.)\r\n2. Open _build.sh_ (it is located in the root project directory).\r\n3. Find the line that reads: `CODESIGN_PARAMS=\"CODE_SIGN_IDENTITY= CODE_SIGNING_REQUIRED=NO\"`, and change it to just read `CODESIGN_PARAMS=\"\"`. (It is line 29 in the file.)\r\n4. Open the Realm Cocoa Xcode project (_Realm.xcodeproj_).\r\n5. If a dialog window appears asking whether to \"Convert to Current Swift Syntax?\", press the \"Later\" button.\r\n6. Click on the Realm project in the Project Navigator.\r\n7. Click on the \"Realm\" target.\r\n8. Click on the \"Build Settings\" tab (make sure \"All\" options are shown, not just \"Basic\"), and scroll down to the \"Signing\" section.\r\n9. Expand the \"Code Signing Identity\" field by clicking the triangle.\r\n10. For the \"Debug\" and \"Release\" sub-options, choose a \"Mac Developer\" identity from the drop-down menu (in most cases, just choose the one within the \"Automatic\" section).\r\n11. If you wish to build Realm for an iOS app (iPhone, Apple TV, Apple Watch), for the \"iPhone* SDK\" sub-options choose an \"iPhone Developer\" identity from the drop-down menu (in most cases, choose an appropriate identity from within the \"Identities in Keychain\" section).\r\n12. Click on the \"General\" tab.\r\n13. Under the \"Signing\" category, press the\"Enable Development Signing\" button, and then uncheck the \"Automatically Manage Signing\" checkbox.\r\n14. Under \"Signing (Debug)\" and \"Signing (Release)\", choose the Apple Developer team associated with the certificates you chose in steps 10 and 11 from the drop-down menus. (If there is only one team listed, just choose that one.)\r\n15. If you want to build Realm Swift, repeat steps 6 through 14 for the \"RealmSwift\" target. (If you want to build for Swift 2.3, activate the \"Use Legacy Swift Language Version\" build setting.)\r\n16. Choose the correct scheme (_Realm_ or _RealmSwift_) and device. If you want to build Realm for an OS X application, choose \"My Mac\". Otherwise choose the appropriate \"Generic _*OS_ Device\".\r\n17. Build the project.\r\n18. In the Project Navigator, under the \"Products\" group, right-click on \"Realm.framework\" and select \"Show in Finder\" to open up the folder containing the built frameworks.\r\n19. Drag _Realm.framework_ (and, if using Realm Swift, _RealmSwift.framework_) into your Xcode project. Follow the instructions at https://realm.io/docs/objc/latest/#dynamic-install to complete setup.\r\n"},"comment":{"url":"https://api.github.com/repos/realm/realm-cocoa/issues/comments/247409387","html_url":"https://github.com/realm/realm-cocoa/issues/3796#issuecomment-247409387","issue_url":"https://api.github.com/repos/realm/realm-cocoa/issues/3796","id":247409387,"user":{"login":"freak4pc","id":605076,"avatar_url":"https://avatars.githubusercontent.com/u/605076?v=3","gravatar_id":"","url":"https://api.github.com/users/freak4pc","html_url":"https://github.com/freak4pc","followers_url":"https://api.github.com/users/freak4pc/followers","following_url":"https://api.github.com/users/freak4pc/following{/other_user}","gists_url":"https://api.github.com/users/freak4pc/gists{/gist_id}","starred_url":"https://api.github.com/users/freak4pc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/freak4pc/subscriptions","organizations_url":"https://api.github.com/users/freak4pc/orgs","repos_url":"https://api.github.com/users/freak4pc/repos","events_url":"https://api.github.com/users/freak4pc/events{/privacy}","received_events_url":"https://api.github.com/users/freak4pc/received_events","type":"User","site_admin":false},"created_at":"2016-09-15T18:22:33Z","updated_at":"2016-09-15T18:22:33Z","body":"Uhm, interesting. That worked fine for me. \r\n\r\nDo you mind trying `pod deintegrate` and `pod install` again ? @mamaral "}}
{"actor":{"display_login":"freak4pc"}}