Ive created a multi-target project. One target is a dev version and has a testing interface. The second target is the production app. I wish to create a class "deviceController" in the target version which is a more developed version of "deviceController" in the dev version.
eg
Testing/
..............DeviceController.h
..............DeviceController.m
..............Device.h
..............Device.m
Prod
..............DeviceController.h
..............DeviceController.m
I added the testing class files (.m) in the build phase and put in the production DeviceController.m instead of the testing one.
When I build I get "Duplicate interface definition for class " as it seems the #import "DeviceController.h" in my new version pulls in the testing "DeviceController.h"
How can I make sure that Xcode only compiles the code that is listed in the Compile sources phase ?
I have found a few solutions online but had no success.
Im using Xcode 9.2
Ive tried specifying header search paths and not using header_maps but not finding a combination that works.
Post
Replies
Boosts
Views
Activity
Ive been working on some code for looking at the disks from my old Roland sampler. Even though the system pops up a warning .
"The disk you inserted was not readable by this computer."
<ignore> <eject>
It is actually possible to read the disks at this point from the command line, and copy them using dd.
what Id like to do is :
1) be informed a floppy was inserted
2) be able to check its structure and if its a sampler disk prevent the ignore/eject alert popping up.
I have looked at Disk Arbitration very briefly but am not sure if this all I need to be looking at.
Any advice would be helpful.
RD
I am unable to run any of my MacOS projects in Xcode 9.2 after taking a break of a few months. I can run the app in Xcode 10 on a different drive.
When i try to run an app it compiles and says running then immediately says "Finished Running" and the debugger says "Message from debugger: unable to attach"
I can create an IOS app and run that in a simulator, its just MacOS apps, old or new.
Ive searched the net and found this problem but no solution. I really dont want to swap onto my other drive and upgrade at this moment.