Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for older MacOS versions #2

Closed
LordRembo opened this issue Oct 8, 2021 · 3 comments
Closed

Support for older MacOS versions #2

LordRembo opened this issue Oct 8, 2021 · 3 comments

Comments

@LordRembo
Copy link

LordRembo commented Oct 8, 2021

Would it be possible to make this app (or a version of it) compatible with 10.14 (Mojave)?
I tried using xcode to export it to other versions but it just gives me errors like these:

/Applications/peripage/Print2BLE/Print2BLE/ViewController.m:46:5: Expression result unused

/Applications/peripage/Print2BLE/Print2BLE/MyBLE.m:112:30: Sending 'MyBLE *const __strong' to parameter of incompatible type 'id<CBPeripheralDelegate> _Nullable'

/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBPeripheral.h:62:63: Passing argument to parameter 'delegate' here

@bitbank2
Copy link
Owner

bitbank2 commented Oct 9, 2021

I just changed the deployment target to MacOS 10.14 and it worked. It gave a few warnings, but the build succeeds. Did you do something else besides change the deployment target?

@LordRembo
Copy link
Author

Well, I had to replace the Team and Signing certificate with one of my own, since I'm not part of the original project 'Team' but that's it.
I see it produces a build (in a folder structures like this: ⁨Print2BLE-ehexixkjrohcvtfqlfiwxljawbkb⁩ ▸ ⁨Build⁩ ▸ ⁨Products⁩) but the app just crashes immediately upon trying to open it.

@bitbank2
Copy link
Owner

bitbank2 commented Oct 9, 2021

I'm sorry, but I'm not enough of an expert at Mac build issues to debug this. I don't think I'm using any new features, but there were some constants deprecated in the drag and drop part that I recently updated; perhaps that's where the trouble lies.

L.B.

@bitbank2 bitbank2 closed this as completed Oct 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants