Post

Replies

Boosts

Views

Activity

Reply to Writing unit tests for Bundle project (Mix of Objective C and Swift code)
I'm having a similar issue, and I think it can be replicated with Swift only. Start a new Swift project as type "Bundle" Add some code (e.g. a class a method) to be tested New -> Target -> Unit Test Bundle Note that "target to be tested" cannot be set to your project, see also: https://stackoverflow.com/questions/55277832/xcode-unable-to-add-test-target-to-existing-swift-project-target-to-be-tested Add a relevant test for your code from step 2 and a @testable import MyBundleName Undefined symbol errors
Aug ’22
Reply to How to show permissions for Location Services at Privacy & Security menu?
Dealing with a similar issue: https://stackoverflow.com/questions/75782846/cllocation-doesnt-work-from-cli-app-on-macos-ventura
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Mar ’23
Reply to Writing unit tests for Bundle project (Mix of Objective C and Swift code)
I'm having a similar issue, and I think it can be replicated with Swift only. Start a new Swift project as type "Bundle" Add some code (e.g. a class a method) to be tested New -> Target -> Unit Test Bundle Note that "target to be tested" cannot be set to your project, see also: https://stackoverflow.com/questions/55277832/xcode-unable-to-add-test-target-to-existing-swift-project-target-to-be-tested Add a relevant test for your code from step 2 and a @testable import MyBundleName Undefined symbol errors
Replies
Boosts
Views
Activity
Aug ’22