{"action":"created","issue":{"url":"https://api.github.com/repos/Sitecore/sitecore-ios-sdk/issues/33","labels_url":"https://api.github.com/repos/Sitecore/sitecore-ios-sdk/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/Sitecore/sitecore-ios-sdk/issues/33/comments","events_url":"https://api.github.com/repos/Sitecore/sitecore-ios-sdk/issues/33/events","html_url":"https://github.com/Sitecore/sitecore-ios-sdk/issues/33","id":57161473,"number":33,"title":"[SitecoreMobileUI] unable to compile under Xcode 6.1","user":{"login":"csotiriou","id":1228484,"avatar_url":"https://avatars.githubusercontent.com/u/1228484?v=3","gravatar_id":"","url":"https://api.github.com/users/csotiriou","html_url":"https://github.com/csotiriou","followers_url":"https://api.github.com/users/csotiriou/followers","following_url":"https://api.github.com/users/csotiriou/following{/other_user}","gists_url":"https://api.github.com/users/csotiriou/gists{/gist_id}","starred_url":"https://api.github.com/users/csotiriou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/csotiriou/subscriptions","organizations_url":"https://api.github.com/users/csotiriou/orgs","repos_url":"https://api.github.com/users/csotiriou/repos","events_url":"https://api.github.com/users/csotiriou/events{/privacy}","received_events_url":"https://api.github.com/users/csotiriou/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-10T11:17:52Z","updated_at":"2015-02-10T15:24:49Z","closed_at":null,"body":"Hello,\r\n\r\nAfter checking out the projects and its submodules, I am unable to compile the target named \"SitecoreMobileUI\" using the <ROOT>/src/lib/SitecoreMobileSDK/SitecoreMobileSDK.xcworkspace . The base SitecoreMobileSDK compiles correctly, however, SiteCoreMobileUI has a problem in the final build script, the one that merges different architectures and produces a universal static framework. \r\n\r\n```\r\n    export USE_DYNAMIC_NO_PIC=YES\r\n    export USE_HEADERMAP=YES\r\n    export USE_HEADER_SYMLINKS=NO\r\n    export VALIDATE_PRODUCT=NO\r\n    export VALID_ARCHS=\"i386 x86_64\"\r\n    export VERBOSE_PBXCP=NO\r\n    export VERSIONPLIST_PATH=SitecoreMobileUI.framework/version.plist\r\n    export VERSIONS_FOLDER_PATH=SitecoreMobileUI.framework\r\n    export VERSION_INFO_BUILDER=csotiriou\r\n    export VERSION_INFO_FILE=SitecoreMobileUI_vers.c\r\n    export VERSION_INFO_STRING=\"\\\"@(#)PROGRAM:SitecoreMobileUI  PROJECT:SitecoreMobileSDK-\\\"\"\r\n    export WRAPPER_EXTENSION=framework\r\n    export WRAPPER_NAME=SitecoreMobileUI.framework\r\n    export WRAPPER_SUFFIX=.framework\r\n    export XCODE_APP_SUPPORT_DIR=/Applications/Xcode.app/Contents/Developer/Library/Xcode\r\n    export XCODE_PRODUCT_BUILD_VERSION=6A2008a\r\n    export XCODE_VERSION_ACTUAL=0611\r\n    export XCODE_VERSION_MAJOR=0600\r\n    export XCODE_VERSION_MINOR=0610\r\n    export XPCSERVICES_FOLDER_PATH=SitecoreMobileUI.framework/XPCServices\r\n    export YACC=yacc\r\n    export arch=x86_64\r\n    export variant=normal\r\n    /bin/sh -c /Users/csotiriou/Library/Developer/Xcode/DerivedData/SitecoreMobileSDK-btgllbzorjhjgafexgzflmeehcro/Build/Intermediates/SitecoreMobileSDK.build/Debug-iphonesimulator/SitecoreMobileUI.build/Script-7ED7F2B918D1B36C009BFBCE.sh\r\n\r\nTouch /Users/csotiriou/Library/Developer/Xcode/DerivedData/SitecoreMobileSDK-btgllbzorjhjgafexgzflmeehcro/Build/Products/Debug-iphonesimulator/SitecoreMobileUI.framework\r\n    cd /Users/csotiriou/Desktop/sitecore-ios-sdk/src/lib/SitecoreMobileSDK\r\n    export PATH=\"/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/libexec:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/local/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/usr/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/usr/local/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/local/bin:/Applications/Xcode.app/Contents/Developer/Tools:/usr/bin:/bin:/usr/sbin:/sbin\"\r\n    /usr/bin/touch -c /Users/csotiriou/Library/Developer/Xcode/DerivedData/SitecoreMobileSDK-btgllbzorjhjgafexgzflmeehcro/Build/Products/Debug-iphonesimulator/SitecoreMobileUI.framework\r\n\r\n** BUILD SUCCEEDED **\r\n\r\nCreate universal static library\r\nExecutable path: SitecoreMobileUI.framework/SitecoreMobileUI\r\nTarget Name: SitecoreMobileUI\r\nlibtool -static /Users/csotiriou/Library/Developer/Xcode/DerivedData/SitecoreMobileSDK-btgllbzorjhjgafexgzflmeehcro/Build/Products/Debug-iphoneos/SitecoreMobileUI.framework/SitecoreMobileUI /Users/csotiriou/Library/Developer/Xcode/DerivedData/SitecoreMobileSDK-btgllbzorjhjgafexgzflmeehcro/Build/Products/Debug-iphonesimulator/SitecoreMobileUI.framework/SitecoreMobileUI -o /Users/csotiriou/Library/Developer/Xcode/DerivedData/SitecoreMobileSDK-btgllbzorjhjgafexgzflmeehcro/Build/Products/Debug-iphoneos/SitecoreMobileUI.framework/SitecoreMobileUI.temp\r\nerror: libtool: can't open file: /Users/csotiriou/Library/Developer/Xcode/DerivedData/SitecoreMobileSDK-btgllbzorjhjgafexgzflmeehcro/Build/Products/Debug-iphonesimulator/SitecoreMobileUI.framework/SitecoreMobileUI (No such file or directory)\r\nShowing first 200 notices only\r\n```\r\n\r\nIt seems the problem is that when building, the version that gets built for the iPhone (for ARM architectures) has the name \"SitecoreMobileUI\" while the one for the simulator has the name \"libSitecoreMobileUI.a\", therefore the script cannot find both of them because it searches for the same name in both of them.\r\n\r\nIs there any way this problem can be remedied?"},"comment":{"url":"https://api.github.com/repos/Sitecore/sitecore-ios-sdk/issues/comments/73717681","html_url":"https://github.com/Sitecore/sitecore-ios-sdk/issues/33#issuecomment-73717681","issue_url":"https://api.github.com/repos/Sitecore/sitecore-ios-sdk/issues/33","id":73717681,"user":{"login":"Igor-Khomich","id":291947,"avatar_url":"https://avatars.githubusercontent.com/u/291947?v=3","gravatar_id":"","url":"https://api.github.com/users/Igor-Khomich","html_url":"https://github.com/Igor-Khomich","followers_url":"https://api.github.com/users/Igor-Khomich/followers","following_url":"https://api.github.com/users/Igor-Khomich/following{/other_user}","gists_url":"https://api.github.com/users/Igor-Khomich/gists{/gist_id}","starred_url":"https://api.github.com/users/Igor-Khomich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Igor-Khomich/subscriptions","organizations_url":"https://api.github.com/users/Igor-Khomich/orgs","repos_url":"https://api.github.com/users/Igor-Khomich/repos","events_url":"https://api.github.com/users/Igor-Khomich/events{/privacy}","received_events_url":"https://api.github.com/users/Igor-Khomich/received_events","type":"User","site_admin":false},"created_at":"2015-02-10T15:24:49Z","updated_at":"2015-02-10T15:24:49Z","body":"Hello,\r\nThe problem is in Xcode 6 behavior. It's allow building of dynamic frameworks now.\r\nYou can use our SDK via CocoaPods http://cocoapods.org/?q=sitecore for now. Thanks."}}