Home › Forums › OpenEars plugins › Add RejectoDemo.framework to OpenEarsSampleApp Xcode project then crash happens
Tagged: Rejecto
- This topic has 6 replies, 2 voices, and was last updated 8 years, 11 months ago by wuwen128.
-
AuthorPosts
-
May 18, 2015 at 9:19 am #1025774wuwen128Participant
Xcode6.3, crash happens no matter which simulator or device.
2015-05-18 15:01:34.173 OpenEarsSampleApp[10209:874247] -[OELanguageModelGenerator generateRejectingLanguageModelFromArray:withFilesNamed:withOptionalExclusions:usingVowelsOnly:withWeight:forAcousticModelAtPath:]: unrecognized selector sent to instance 0x7fc503f22040
2015-05-18 15:01:34.175 OpenEarsSampleApp[10209:874247] *** Terminating app due to uncaught exception ‘NSInvalidArgumentException’, reason: ‘-[OELanguageModelGenerator generateRejectingLanguageModelFromArray:withFilesNamed:withOptionalExclusions:usingVowelsOnly:withWeight:forAcousticModelAtPath:]: unrecognized selector sent to instance 0x7fc503f22040’
*** First throw call stack:
(
0 CoreFoundation 0x000000010e505c65 __exceptionPreprocess + 165
1 libobjc.A.dylib 0x000000010df36bb7 objc_exception_throw + 45
2 CoreFoundation 0x000000010e50d0ad -[NSObject(NSObject) doesNotRecognizeSelector:] + 205
3 CoreFoundation 0x000000010e46313c ___forwarding___ + 988
4 CoreFoundation 0x000000010e462cd8 _CF_forwarding_prep_0 + 120
5 OpenEarsSampleApp 0x000000010b761f79 OpenEarsSampleApp + 8057May 18, 2015 at 11:38 am #1025776wuwen128ParticipantNSArray *firstLanguageArray = @[@”BACKWARD”,
@”CHANGE”,
@”FORWARD”,
@”GO”,
@”LEFT”,
@”MODEL”,
@”RIGHT”,
@”TURN”];OELanguageModelGenerator *languageModelGenerator = [[OELanguageModelGenerator alloc] init];
NSError *error = [languageModelGenerator generateRejectingLanguageModelFromArray:firstLanguageArray withFilesNamed:@”FirstOpenEarsDynamicLanguageModel” withOptionalExclusions:nil usingVowelsOnly:FALSE withWeight:nil forAcousticModelAtPath:[OEAcousticModel pathToModel:@”AcousticModelEnglish”]];
May 18, 2015 at 3:09 pm #1025778Halle WinklerPolitepixWelcome,
It sounds like you probably don’t have “-ObjC” added to the Other Linker Flags setting in your Xcode Build Settings.
May 19, 2015 at 3:42 am #1025780wuwen128ParticipantThanks, Halle, but crash sill happens, in different method:
OpenEarsSampleApp[15135:1457561] -[OELanguageModelGenerator compactWhitespaceAndFixCharactersOfArrayEntries:]: unrecognized selector sent to instance 0x7fc4ead80580
OpenEarsSampleApp[15135:1457561] *** Terminating app due to uncaught exception ‘NSInvalidArgumentException’, reason: ‘-[OELanguageModelGenerator compactWhitespaceAndFixCharactersOfArrayEntries:]: unrecognized selector sent to instance 0x7fc4ead80580’
*** First throw call stack:
(
0 CoreFoundation 0x000000010751ec65 __exceptionPreprocess + 165
1 libobjc.A.dylib 0x00000001071b5bb7 objc_exception_throw + 45
2 CoreFoundation 0x00000001075260ad -[NSObject(NSObject) doesNotRecognizeSelector:] + 205
3 CoreFoundation 0x000000010747c13c ___forwarding___ + 988
4 CoreFoundation 0x000000010747bcd8 _CF_forwarding_prep_0 + 120
5 OpenEarsSampleApp 0x0000000104a6f014 OpenEarsSampleApp + 667668May 19, 2015 at 4:22 am #1025782wuwen128ParticipantCrash happens in OpenEars.framework 2.03 + Rejecto.framework 2.04
BTW: Is Rejecto supporting JSGF?
May 19, 2015 at 7:22 am #1025784Halle WinklerPolitepixThat is happening because you have to upgrade to the current OpenEars 2.04 version. Rejecto doesn’t support JSGF.
May 19, 2015 at 7:51 am #1025785wuwen128ParticipantThanks very much, Halle.
-
AuthorPosts
- You must be logged in to reply to this topic.