Skip to content
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

Compilation Error #5

Open
JamesCookies opened this issue Mar 21, 2017 · 27 comments
Open

Compilation Error #5

JamesCookies opened this issue Mar 21, 2017 · 27 comments

Comments

@JamesCookies
Copy link

I just tried to compile to project and here's the issues I'm getting :

clang: error: no such file or directory: '/Users/Manil/Downloads/GIOVANNI-master/gambatte/libgambatte/src/statesaver.cpp'
clang: error: no input files

clang: error: no such file or directory: '/Users/Manil/Downloads/GIOVANNI-master/gambatte/common/videolink/vfilters/maxsthq3x.cpp'
clang: error: no input files

clang: error: no such file or directory: '/Users/Manil/Downloads/GIOVANNI-master/gambatte/libgambatte/src/sound/channel3.cpp'
clang: error: no input files

clang: error: no such file or directory: '/Users/Manil/Downloads/GIOVANNI-master/gambatte/libgambatte/src/interrupter.cpp'
clang: error: no input files

Is there any way to fix it ? I'd like to help the developing btw ;)

@gabrieloc
Copy link
Owner

It sounds like those files don't exist on disk. Did you clone submodules?

@AndreasJJ
Copy link

I got the same error when I tried to download it the first time. You probably downloaded it as a zip, or forgot the "--recursive" in "git clone --recursive git@github.com:gabrieloc/GIOVANNI.git" thus didn't download the submodules :)

@AceXintense
Copy link

Cloning into 'GIOVANNI'...
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

@AceXintense
Copy link

This does not allow me to clone it in this way :( I cannot fetch the submodules is there a ssh key I need to get this data?

@61Halim
Copy link

61Halim commented Mar 21, 2017

i become error with signing

  • Failed to create provisioning profile. The app ID "com.gabrieloc.giovanni.watchkitapp.watchkitextension"
  • No profiles for "com.gabrieloc.giovanni.watchkitapp.watchkitextension" were found
  • Code signing is required for product type "WatchKit Extension" in SDK "WatchOS 3.1"

Change your bundle identifier to unique string to try again. Can somebody help me?

@Jose2595
Copy link

I have the same errors as "61Halim". Please help us. Thanks

@JamesCookies
Copy link
Author

capture d ecran 2017-03-22 a 13 40 06
capture d ecran 2017-03-22 a 13 40 16
capture d ecran 2017-03-22 a 13 40 13

See ? Even if I add Gambatte manually, it just won't compile even if every thing is set up to. That's just too weird :'(

@gabrieloc
Copy link
Owner

@JamesCookies Are all the files red in Xcode? How are you adding Gambatte manually?

@AceXintense
Copy link

@gabrieloc How come I do not have permission to git clone --recursively with the use of my public key?

@gabrieloc
Copy link
Owner

Have you added your ssh key to github? If that doesn't answer your question, please create a separate issue as to not clutter this one.

@Jose2595
Copy link

Please @gabrieloc help me with my problem. It's the same that @61Halim. Thanks

@gabrieloc
Copy link
Owner

@Jose2595 @61Halim Are you able to build after following this tutorial? If not, what issues are you having specifically?

@Jose2595
Copy link

@gabrieloc When I do the whole process and I clone the file and connect the iPhone, I get these three errors:

  • Failed to create provisioning profile. The app ID "com.gabrieloc.giovanni.watchkitapp.watchkitextension"

  • No profiles for "com.gabrieloc.giovanni.watchkitapp.watchkitextension" were found

  • Code signing is required for product type "WatchKit Extension" in SDK "WatchOS 3.1

@gabrieloc
Copy link
Owner

Try changing the bundle ID for all three targets (iOS, watchOS, watchOS extension) to something unique.

@Jose2595
Copy link

@gabrieloc Okey! And the problem with:

  • Code signing is required for product type "WatchKit Extension" in SDK "WatchOS 3.1

@jdleo
Copy link

jdleo commented Mar 23, 2017

@Jose2595 you need to codesign all the extensions and the main project in xcode. xcode handles this automatically for you. click on the parent project folders, go to "general" and scroll down to "Signing" (should be the second thing), you'll see "team", "provisioning profile", and "signing certificate". from "team" menu, select your personal or agent team or whatever you have, and xcode will automatically codesign it for ya

@Jose2595
Copy link

@jdleo Okey! Thank you.

@jdleo
Copy link

jdleo commented Mar 23, 2017

@Jose2595 no problem 👍 see, the trick here is to keep building, and keep working through the errors. with provisioning errors, it generally tells you the exact folder that you have to codesign. So just go find that parent folder, and rinse and repeat the solution I told you :) Just keep selecting YOUR profile as the team and they will codesign it

@gabrieloc
Copy link
Owner

Is this issue resolved?

@JamesCookies
Copy link
Author

@gabrieloc because Gambatte isn't in the project (that's maybe a huge part of the issue) I've downloaded it separately and added it manually in the XcodeProj, so basically everything appears to be there, all the files are present but whenever I compile the project, it shows the errors I showed you up :/

@gabrieloc
Copy link
Owner

@JamesCookies can you confirm you cloned submodules

@KnightArtorias
Copy link

@JamesCookies You need to generate a ssh key and link it to your github account in order to properly clone into this project. Github provides documentation on this process: https://help.github.com/articles/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent/

After adding the key try cloning again. If done correctly, it should ask you for the passphrase you used during the generation of the key.

Once it has cloned, launch the new .xcodeproj file and sign all of the targets (including the watchkit extension), plug in a device that's paired with your watch, and have fun! Hope this helps.

@FerTouny
Copy link

FerTouny commented Mar 26, 2017

I have this issues
schermata 2017-03-26 alle 20 16 51
schermata 2017-03-26 alle 20 16 32
how can i fix it?

@KnightArtorias
Copy link

@Tonybest11 This project contains several different targets that require signing. You've only signed the iOS application, but the watch app and the WatchKit extension need signed as well.

To do so, select the project file and go to the general tab. In the top left of that window is giovanni_iOS followed by an up and down arrow. Select that to switch between the targets in the project and sign them the same way you signed the iOS target (which it appears you've done correctly).

If you have any further issues let me know. Cheers!

@FerTouny
Copy link

Thank you!!

@CCF100
Copy link

CCF100 commented Feb 26, 2018

I had to change the bundle identifier on several things, as well as a "WKCompanionAppBundleIdentifier" before it would compile (tl;dr you have to sign it yourself)

@PascalPixel
Copy link

Aside from what @CCF100 said, I also had to update NSExtension > NSExtensionAttributes > WKAppBundleIdentifier in the WatchKit Extension's Info.plist

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests