Reputation: 47
Xcode 11.4 is not generating custom intent class. It works on Xcode 11.3.1. Didn't change any project config. Now getting "Use of undeclared type StartRecordingIntent" compile time error where StartRecording is the name of the intent. Any clue?
Upvotes: 2
Views: 943
Reputation: 9286
Open the File Inspector, make sure to select "Public Intent Classes" of intent file *.intentdefinition.
Upvotes: 2
Reputation: 47
The issue was resolved by changing the build system from Legacy to New Build System. Can't explain the relation between the errors and the build system, but the errors are gone. To change the build system go to File -> Workspace Settings -> Shared Workspace Settings and change from Legacy Build System to New Build System.
Upvotes: 0