escoz / QuickDialog

QuickDialog - Quick and easy dialog screens for iOS
http://escoz.com/open-source/quickdialog
Other
3.07k stars 637 forks source link

Errors after installing QuickDialog #642

Open iMacX opened 10 years ago

iMacX commented 10 years ago

Hi,

After installing QuickDialog, I'm encountering these errors:

Undefined symbols for architecture i386: "_UIFontTextStyleBody", referenced from: -[QFlatAppearance setDefaults] in libPods.a(QFlatAppearance.o) "_UIFontTextStyleHeadline", referenced from: -[QFlatAppearance setDefaults] in libPods.a(QFlatAppearance.o) ld: symbol(s) not found for architecture i386 clang: error: linker command failed with exit code 1 (use -v to see invocation)

Anyone to help me?

Thank you

ps: I tried installing quickDialog manually and with cocoapods, same result :-(

iMacX commented 10 years ago

Ok, My first problem seems to be fixed after adding #import "QuickDialog.h" to my app_prefix.pch. But now I'm facing this issue:

QuickDialogDataSource.h:18:45: Cannot find protocol declaration for 'UITableViewDataSource' QuickDialogDataSource.h:18:36: Cannot find interface declaration for 'NSObject', superclass of 'QuickDialogDataSource' QuickDialogDataSource.h:23:8: Cannot find protocol declaration for 'UITableViewDataSource' QuickDialogDataSource.h:23:31: Cannot find protocol declaration for 'NSObject'

Thanks again for the support

ghost commented 10 years ago

yup, i'm having the same issue.. :(

ghost commented 10 years ago

but, seem to have it fixed by adding these lines to QuickDialogDataSource.h

import < Fountdation/Foundation.h>

import < UIKit/UIKit.h>

(remove space after <, it would not show otherwise)

ronaldho commented 10 years ago

Thanks that seemed to work but the first import should be

import < Foundation/Foundation.h> (Note the typo)