iosswifthaptic-feedback

Cannot run Apple's Haptic Sampler (sample project from Apple's website)


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:

if I delete these parts, another error says:

Here are my questions.

  1. Do same issues happen to you?

  2. How can I fix this problem?

Here's my environment specification.

enter image description here


Solution

  • The problem is that the enum cases

    .gameControllerDisconnect
    

    And

    .engineDestroyed
    

    Were introduced in iOS 14, Xcode 12 beta. But you are running an earlier version so, as the error message says, they don’t exist.