QuickBlox / q-municate-ios

Q-municate iOS repository
http://q-municate.com
MIT License
163 stars 86 forks source link

QMServicesDevelopment/QMDBStorage/QMDBStorage/QMCDRecord/Categories/CoreData/NSManagedObjectModel+QMCDRecord.h:16:120: Expected identifier #201

Closed ErAshu closed 7 years ago

ErAshu commented 7 years ago

Getting Error in NSManagedObjectModel+QMCDRecord.h See attached Screenshot

screen shot 2016-11-30 at 11 33 15 am
Raikerian commented 7 years ago

Hi,

Well, you can clearly see the error. Why do you have a space between (Class) class declaration and identifier name class? I don't see such problem in our project: https://github.com/QuickBlox/q-municate-ios/blob/master/Pods/QMServicesDevelopment/QMDBStorage/QMDBStorage/QMCDRecord/Categories/CoreData/NSManagedObjectModel%2BQMCDRecord.h

ErAshu commented 7 years ago

I have removed the space but still geting same error. See screenshot

screen shot 2016-11-30 at 3 31 12 pm
Raikerian commented 7 years ago

Is your project written in swift? Try to replace class with aClass, does it help?

ErAshu commented 7 years ago

No, my project is written in Objective C in Xcode Version 8.1 (8B62)

Raikerian commented 7 years ago

Did rename help you? If not then try to reinstall QMServices using pods.

ErAshu commented 7 years ago

I have renamed but still same issue raise. I have manually install not from POD. Please provide pod install step.

Raikerian commented 7 years ago

Here is how to install with CocoaPods: https://github.com/QuickBlox/q-municate-services-ios#1-cocoapods

ErAshu commented 7 years ago

I have install with Cocoapods but now gettting this error. I have create a fresh project and add these line in podfile. pod 'QMServices' pod 'QMChatViewController' pod 'SearchEmojiOnString' pod 'UIAlertView+Blocks' pod 'Fabric' pod 'Crashlytics' pod 'MPGNotification'

Now getting this error /Project/testingQM/Pods/Target Support Files/QMServices/QMServices-prefix.pch:5:9: 'Quickblox/Quickblox.h' file not found

Attaching screenshot.

screen shot 2016-11-30 at 8 25 47 pm

Please help me out.

ghost commented 7 years ago

@ErAshu, Have you fixed the issue?

ErAshu commented 7 years ago

Yes, I had install it by POD. This issue not regenerate but another issue.