How to fix UITargetAppPath should be provided in iOS tests

Issue #237 Go to test target, under Host Application, select another app target, and select the preferred app target again

May 15, 2019 路 1 min 路 Khoa Pham

What is Personal team in Xcode

Issue #215 https://developer.apple.com/library/archive/qa/qa1915/_index.html Xcode 7 and Xcode 8 allow you to select the free personal team provided with your Apple ID for signing your app. This team allows you to build apps for your personal use on devices owned by you, but it does not allow you to code sign apps destined for the App Store or for enterprise use.

April 26, 2019 路 1 min 路 Khoa Pham

How to build with xcodebuild and automatic code signing

Issue #207 Team ID Error Message: "xcodebuild: error: invalid option '-teamID' Use = xcodebuild teamID=T78DK947F3 Does not work 馃槩 DEVELOPMENT_TEAM https://pewpewthespells.com/blog/migrating_code_signing.html xcodebuild DEVELOPMENT_TEAM=T78DK947F3 Works 馃槃

April 15, 2019 路 1 min 路 Khoa Pham

How to fix mismatched deployment between app and test target in Xcode

Issue #204 My macOS app target has deployment target 10.12, but when running test, I get Compiling for OS X 10.11, but module 'MyApp' has a minimum deployment target of OS X 10.12: /Users/khoa/MyApp/DerivedData/MyApp/Build/Products/Debug/MyApp.framework/Modules/MyApp.swiftmodule/x86_64.swiftmodule The fix is go to test target -> Build Settings -> Deployment Ensure deployments match Updated at 2020-05-14 07:53:33

April 11, 2019 路 1 min 路 Khoa Pham

How to use shared AppGroup UserDefaults in macOS and Xcode extension

Issue #201 Go to both app and extension target, under Capabilities, enable AppGroup Specify $(TeamIdentifierPrefix)group.com.onmyway133.MyApp $(TeamIdentifierPrefix) will expand to something like T78DK947F3., with . Then using is like a normal UserDefaults let defaults = UserDefaults(suiteName: "T78DK947F3 .group.com.onmyway133.MyApp") defaults?.set(true, forKey: "showOptions") defaults?.synchronize() Updated at 2020-11-12 19:57:33

April 10, 2019 路 1 min 路 Khoa Pham

Using CircleCI 2.0

Issue #158 We 鈥檝e been using CircleCI for many of our open source projects. Since the end of last year 2017, version 2.0 began to come out, and we think it鈥檚 good time to try it now together with Swift 4.1 and Xcode 9.3 The problem with version 2.0 is it鈥檚 so powerful and has lots of cool new features like jobs and workflows, but that requires going to documentation for how to migrate configuration file, especially Search and Replace Deprecated 2....

April 3, 2018 路 3 min 路 Khoa Pham