I downloaded a sample project from here(haptic sampler) and I cannot run because of several issues. I solved signing identifier.
The error messages say:
~/PlayingACustomHapticPatternFromAFile/HapticSampler/ViewController.swift:66:19: Type 'CHHapticEngine.StoppedReason' has no member 'gameControllerDisconnect'
~/PlayingACustomHapticPatternFromAFile/HapticSampler/ViewController.swift:68:19: Type 'CHHapticEngine.StoppedReason' has no member 'engineDestroyed'
if I delete these parts, another error says:
- Thread 1: Fatal error: Unexpectedly found nil while implicitly unwrapping an Optional value
Here are my questions.
Do same issues happen to you?
How can I fix this problem?
Here's my environment specification.
- macOS Catalina 10.15.6
- Xcode 11.6
- iPhone 7 iOS 13.6