{"action":"created","issue":{"url":"https://api.github.com/repos/realm/realm-cocoa/issues/2070","labels_url":"https://api.github.com/repos/realm/realm-cocoa/issues/2070/labels{/name}","comments_url":"https://api.github.com/repos/realm/realm-cocoa/issues/2070/comments","events_url":"https://api.github.com/repos/realm/realm-cocoa/issues/2070/events","html_url":"https://github.com/realm/realm-cocoa/issues/2070","id":87295271,"number":2070,"title":"update to Realm Swift 0.93.1,strip-frameworks.sh: Permission denied","user":{"login":"github2016a","id":11831837,"avatar_url":"https://avatars.githubusercontent.com/u/11831837?v=3","gravatar_id":"","url":"https://api.github.com/users/github2016a","html_url":"https://github.com/github2016a","followers_url":"https://api.github.com/users/github2016a/followers","following_url":"https://api.github.com/users/github2016a/following{/other_user}","gists_url":"https://api.github.com/users/github2016a/gists{/gist_id}","starred_url":"https://api.github.com/users/github2016a/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github2016a/subscriptions","organizations_url":"https://api.github.com/users/github2016a/orgs","repos_url":"https://api.github.com/users/github2016a/repos","events_url":"https://api.github.com/users/github2016a/events{/privacy}","received_events_url":"https://api.github.com/users/github2016a/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-11T10:27:30Z","updated_at":"2015-10-14T07:58:02Z","closed_at":"2015-06-11T12:10:53Z","body":"hi guys, i am updating from Swift 0.92.1 to 0.93.1. \r\nbut when build the project, I always got the error :\r\n```swift\r\nFrameworks/Realm.framework/strip-frameworks.sh: Permission denied\r\n```\r\nI followed the solution in #1865 : \r\n```swift\r\ngit clone https://github.com/realm/realm-cocoa.git\r\ncd realm-cocoa\r\ngit pull origin seg-package-swift\r\ngit checkout seg-package-swift\r\nsh build.sh build\r\nopen build\r\n``` \r\nbut \r\n```swift \r\ngit pull origin seg-package-swift // fatal: Couldn't find remote ref seg-package-swift\r\ngit checkout seg-package-swift // error: pathspec 'seg-package-swift' did not match any file(s) known to git.\r\n``` \r\nso I Just run the follow script :\r\n```swift\r\ngit clone https://github.com/realm/realm-cocoa.git\r\ncd realm-cocoa\r\nsh build.sh build\r\n``` \r\nwhen it finished successfully,i copy the build/ios/swift/Realm.framework、RealmSwift.framework  to my project，The error still appeared.\r\nso is there any suggestion?\r\n"},"comment":{"url":"https://api.github.com/repos/realm/realm-cocoa/issues/comments/147966763","html_url":"https://github.com/realm/realm-cocoa/issues/2070#issuecomment-147966763","issue_url":"https://api.github.com/repos/realm/realm-cocoa/issues/2070","id":147966763,"user":{"login":"pardel","id":2171,"avatar_url":"https://avatars.githubusercontent.com/u/2171?v=3","gravatar_id":"","url":"https://api.github.com/users/pardel","html_url":"https://github.com/pardel","followers_url":"https://api.github.com/users/pardel/followers","following_url":"https://api.github.com/users/pardel/following{/other_user}","gists_url":"https://api.github.com/users/pardel/gists{/gist_id}","starred_url":"https://api.github.com/users/pardel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pardel/subscriptions","organizations_url":"https://api.github.com/users/pardel/orgs","repos_url":"https://api.github.com/users/pardel/repos","events_url":"https://api.github.com/users/pardel/events{/privacy}","received_events_url":"https://api.github.com/users/pardel/received_events","type":"User","site_admin":false},"created_at":"2015-10-14T07:58:02Z","updated_at":"2015-10-14T07:58:02Z","body":"@jpsim could I suggest adding another step to (potentially) correct the permission error?\r\nHappens for me in 0.95.3 (might be a system error):\r\n\r\n    chmod +x \"${BUILT_PRODUCTS_DIR}/${FRAMEWORKS_FOLDER_PATH}/Realm.framework/strip-frameworks.sh\"\r\n    bash \"${BUILT_PRODUCTS_DIR}/${FRAMEWORKS_FOLDER_PATH}/Realm.framework/strip-frameworks.sh\"\r\n"}}