pkluz / PKHUD

A Swift based reimplementation of the Apple HUD (Volume, Ringer, Rotation,…) for iOS 8.
MIT License
3.79k stars 494 forks source link

Does not build on macOS Mojave and Xcode 10 #229

Open ghost opened 6 years ago

ghost commented 6 years ago

When you try to use PKHUD in the new betas there are lots of compile error and even if you temporarily fix them Xcode ends up saying "Could not build Objective-C module 'PKHUD'". So, is there a version of PKHUD that works on macOS Mojave and Xcode 10? Something 100% Swift would be great...

williamcaruso commented 6 years ago

Works for me on version 10.14 Beta (18A314h) and PKHUD ~> 5.0

The project builds, and these are the only warnings I get:

mojavewarnings

What errors are you getting?

PGLongo commented 6 years ago

Sorry guys, but I can't working on betas build. I've created a branch feature/mojave, if someone want to help with a PR it would be appreciated

ghost commented 6 years ago

I get these and after I fix them I get the final error "Could not build Objective-C module 'PKHUD'", which I have no idea what to do with...

screen shot 2018-07-17 at 20 29 03
AndyIbanez commented 6 years ago

Did you guys have any luck with this on the final release? I'm seeing exactly the same errors as @4ei-davidcittadini .

AndyIbanez commented 6 years ago

OK well, we just gotta wait (or contribute) the fix, which is to change the constructor call for the activity indicator view and that random look stuff. I quickly did it on my working copy, but it's not something I can push to the repo right now. I will try to push the fix in a few hours, unless somebody beat me to it.