ARC Semantic Issues + Install instructions?
tbergeron opened this issue · comments
Hi,
This library is simply amazing, getting so much power with so little effort is a big gift for other developers hehe
First, is there any wiki page or install/usage instructions? How are we supposed to know what methods to use, etc?
I can't seem to compile anymore as I get lots of "ARC Semantic Issue" errors:
Any idea why I might be getting these? I installed via the podfile.
Thanks!
I followed install instructions for GPUImage: https://github.com/BradLarson/GPUImage
But I still get those errors.
Here's a text version of what's going on:
Ld /Users/tommybergeron/Library/Developer/Xcode/DerivedData/VINPIN-gubraeegprbzjjebovkzhitcwfhr/Build/Products/Debug-iphonesimulator/VINPIN.app/VINPIN normal i386
cd /Users/tommybergeron/Desktop/VINPIN-iOS
setenv IPHONEOS_DEPLOYMENT_TARGET 7.0
setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk -L/Users/tommybergeron/Library/Developer/Xcode/DerivedData/VINPIN-gubraeegprbzjjebovkzhitcwfhr/Build/Products/Debug-iphonesimulator -L/Users/tommybergeron/Desktop/VINPIN-iOS/TestFlightSDK2.0.2 -L/Users/tommybergeron/Library/Developer/Xcode/DerivedData/VINPIN-gubraeegprbzjjebovkzhitcwfhr/Build/Products/Debug-iphoneos -F/Users/tommybergeron/Library/Developer/Xcode/DerivedData/VINPIN-gubraeegprbzjjebovkzhitcwfhr/Build/Products/Debug-iphonesimulator -F/Users/tommybergeron/Desktop/VINPIN-iOS/Pods/Dropbox-iOS-SDK/dropbox-ios-sdk-1.3.9 -F/Users/tommybergeron/Desktop/VINPIN-iOS/Pods/ShareKit/Frameworks -F/Users/tommybergeron/Desktop/VINPIN-iOS/DLCImagePickerController -filelist /Users/tommybergeron/Library/Developer/Xcode/DerivedData/VINPIN-gubraeegprbzjjebovkzhitcwfhr/Build/Intermediates/VINPIN.build/Debug-iphonesimulator/VINPIN.build/Objects-normal/i386/VINPIN.LinkFileList -Xlinker -objc_abi_version -Xlinker 2 -ObjC -lxml2 -framework AVFoundation -framework AssetsLibrary -framework CFNetwork -framework CoreGraphics -framework CoreLocation -framework CoreMedia -framework CoreMotion -framework CoreText -framework DropboxSDK -framework Foundation -framework GooglePlus -framework ImageIO -framework MediaPlayer -framework MessageUI -framework MobileCoreServices -framework QuartzCore -framework Security -framework Social -framework StoreKit -framework SystemConfiguration -framework Twitter -framework UIKit -weak_framework Accounts -weak_framework AdSupport -weak_framework Security -weak_framework Social -fobjc-arc -fobjc-link-runtime -Xlinker -no_implicit_dylibs -mios-simulator-version-min=7.0 -lGPUImage -framework OpenGLES -lPods -framework QuartzCore -framework AVFoundation -framework CoreVideo -framework CoreMedia -lz -framework ImageIO -framework CoreGraphics -framework UIKit -lTestFlight -framework Foundation -Xlinker -dependency_info -Xlinker /Users/tommybergeron/Library/Developer/Xcode/DerivedData/VINPIN-gubraeegprbzjjebovkzhitcwfhr/Build/Intermediates/VINPIN.build/Debug-iphonesimulator/VINPIN.build/Objects-normal/i386/VINPIN_dependency_info.dat -o /Users/tommybergeron/Library/Developer/Xcode/DerivedData/VINPIN-gubraeegprbzjjebovkzhitcwfhr/Build/Products/Debug-iphonesimulator/VINPIN.app/VINPIN
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_DLCImagePickerController", referenced from:
objc-class-ref in CameraViewController.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Please, anybody help, I'd love to use that component but have been stuck the whole day on it :-/
Thanks!
I've never installed this via podfile and wouldn't recommend it. This uses a specific commit of GPUImage whereas the podfile uses latest.
can you run the AppDelegate application that comes with the project?
Yes without any problems at all. That's what boggles my mind, I can't seem to find what's the issue with my project :-/ Thanks
Seems like you aren't linking GPUImage properly in your VINPIN project. Please read how to do that on the GPUImage repo.
I suggest including the DLCImagePicker files in your main project, not in another project
I very carefully followed those instructions, and I'm still stuck on the same issue. I really have no clue about what's going on, I'm still new to objective-c development and using xcode so it's hard for me to figure our the build-related linking problems, etc.
If anybody can try to help me, I'd be very grateful. I even opened up a ticket on GPUImage's repo: BradLarson/GPUImage#1340
Thanks