-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cannot compile with xcode 7 beta #1
Comments
Hi ihomecall, Yeah, I was able to compile with Xcode beta 5.
|
I am using Version 7.0 beta 6 (7A192o) error: remove /Users/xxx/Library/Developer/Xcode/DerivedData/SwiftAnyPic-bcjrjwjkxdytkqefhstwkmzclufd/Build/Products/Debug-iphonesimulator/Pods-SwiftAnyPic/FormatterKit.framework/ca.lproj: Directory not empty error: make directory /Users/xxx/Library/Developer/Xcode/DerivedData/SwiftAnyPic-bcjrjwjkxdytkqefhstwkmzclufd/Build/Products/Debug-iphonesimulator/Pods-SwiftAnyPic/FormatterKit.framework/ca.lproj: File exists could you try with beta6? |
I just installed Xcode 7 beta 6. Yeah, I got 3 errors during the compilation. |
this is the current error: This error is caused by this warning Warning: Multiple build commands for output file /Users/jianjunh/Library/Developer/Xcode/DerivedData/SwiftAnyPic-bcjrjwjkxdytkqefhstwkmzclufd/Build/Products/Debug-iphonesimulator/Pods-SwiftAnyPic/FormatterKit.framework/es.lproj |
It seems the error comes from this file Pods/Target\ Support\ Files/Pods-SwiftAnyPic/Pods-SwiftAnyPic-frameworks.sh |
this below error is gone |
hmm... I'm not sure if it is related to these issues. I guess this is probably FormatterKit or Cocoapods issue. By the way, I'm using:
Have you tried to clean (Clean the build folder: Option + Cmd + Shift + K) and rebuild? I wonder if there is anyone else (other than me) has tried and compiled successfully, then probably we can check if this is caused by the environment. In the meantime, I will evaluate if I can replace FormatterKit with other alternative. |
Hi @ihomecall , I created a dummy xcode project to see if you have any problem with environment with the FormatterKit. https://github.com/kwkhaw/formatterkitSampleApp Kindly let me know if you encounter the same issue as you did in SwiftAnyPic. |
hi, kwkhaw. I just downloaded the dummy project. did pod install. and still get the exact same error error: make directory /Users/jianjunh/Library/Developer/Xcode/DerivedData/formatterkitSampleApp-bqqyfpmwozhqloaceflmpchpeyed/Build/Products/Debug-iphonesimulator/Pods-formatterkitSampleApp/FormatterKit.framework/ca.lproj: File exists |
I see. Please provide me the version of your:
|
mac os 10.10.5 (14F27) |
Is it possible for you to upgrade your cocoapods version to 0.38.2 or latest and try again? |
Hi, buddy! I just tried before saving your post. It works! finally, I can compile the SwiftAnypic. Thanks... Keep moving. Buddy. Your contribution is a well-waited one for the parse community.... |
maybe you can modify the readme to alert users to install cocopods 0.38.2. |
Yeah, sounds great! For me, i can run the app without any major problems. I can login with facebook, post photo, like, add comment, view profile...
|
The error is when trying to login using facebook The error is from this file (this line: let facebookUserId: String = accessTokenData.userID).
I tried to compile the obj-c version of anypic, and got similar error, and the fix is this from stackflow I was having this same issue when running Anypic on a device and submitted a support ticket with Facebook. They confirmed that it's an issue when signing in with the Facebook application and recommended using PFFacebookUtils logInWithPermissions as a workaround until they're able to look into it further. I changed the handleFacebookSession method within PAPLogInViewController.m to the code below and was finally able to login with a device!
Maybe you can refer to this post |
I see. I got it. I will check it out later. |
yes. I tried with Simulator rather than iphone or ipad, which are not ios9.0 yet. |
I guess you only need to convert the fixing code into swift and the problem should be gone. |
Here are the corresponding code in Swift syntax:
Can you help to try it out? |
hi, kwkhaw! It works. oh yeah. Works perfectly! I can now login in simulator. and post images. thanks for quick update. there is a minor error in background I guess now u only need to fix those deprecated function warnings and it becomes a great contribution to help people develop parse platform apps. |
Yeah, that's great! I will merge the code later. If you don't mind to get your hands dirtier (since your hands are already dirty now. :P), please feel free to make any changes or fixes, and create a PR. By the way, I also don't see any new post on the Anypic app using the default Parse client key. So, I guess you are using your own Parse App and Facebook app? |
my facebook username is iclassmade |
any chance to make this project compiled in Xcode 6? |
@chenyuan I gave it shot, 36 errors... sigh... |
that's cool, mate |
Nice job. Many guys are looking for this porting. Thanks. I just googled yesterday and could not find. and today, I found it -:)
I had compiling issue:
ld: framework not found FacebookSDK for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
there are several other bugs that I commented out.
Have you been able to compile?
The text was updated successfully, but these errors were encountered: