Skip to content

Commit

Permalink
fix pokemon Go launch
Browse files Browse the repository at this point in the history
Fix PokemonGo launch
  • Loading branch information
h4v1nfun committed Aug 1, 2016
1 parent c0a9a25 commit f5ff965
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions xcode-project/pokemon-webspoof/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
<string>????</string>
<key>CFBundleVersion</key>
<string>1</string>
<key>LSApplicationQueriesSchemes</key>
<array>
<string>com.googleusercontent.apps.848232511240-dmrj3gba506c9svge2p9gq35p1fg654p</string>
</array>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>UIBackgroundModes</key>
Expand Down Expand Up @@ -48,9 +52,5 @@
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>LSApplicationQueriesSchemes</key>
<array>
<string>b335b2fc-69dc-472c-9e88-e6c97f84091c-3</string>
</array>
</dict>
</plist>
2 changes: 1 addition & 1 deletion xcode-project/pokemon-webspoof/ViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#import "AVFoundation/AVFoundation.h"
#import "AudioToolbox/AudioToolbox.h"

static NSString * const kURLScheme = @"b335b2fc-69dc-472c-9e88-e6c97f84091c-3://";
static NSString * const kURLScheme = @"com.googleusercontent.apps.848232511240-dmrj3gba506c9svge2p9gq35p1fg654p://";

@interface ViewController () <AVAudioPlayerDelegate>

Expand Down

5 comments on commit f5ff965

@Myntimint
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Worked very well.

Thanks for your engagement! <3

@brunofortes8
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Im a newbie. Somehow i managed to make everything work and now its not launching

After extracting the file, i only have the pokemongo-webspoof.app

how do use those codes to fix the launch problem ? there are no files to replace or edit.. as i said, the only file i see is pokemongo-webspoof.app

@Ballzier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@brunofortes8 I'm a complete newbie as well, I'm a little knowledgable though and may be able to help. 1. Right click on your "pokemongo-webspoof.app"
2. Select "Show Package Contents"
3. In the top right-hand corner of the Finder window in the search bar type: info.plist
4. At the top of the search results it will show
Search: (This Mac) ("pokemongo-webspoof") (Shared)
Select ("pokemongo-webspoof")
You will see 5 results, single-click on each one until you find the one that has a file path ending with:
"xcode-project>pokemon-webspoof>Info.plist" (there won't be any quotation marks)
If it helps, the file size is 2KB, and has the path ending like I previously described
5. Right-click on the file and select: Open With>Other...>TextEdit
6. Now find the corresponding lines (reference the line # on the left) in the above code and add/delete the necessary text, and then hit cmd+s or go to File>Save
7. Close out of the TextEdit window
8. In the same Finder window used to locate the correct "Info.plist" file, go back to the search bar in the top right-hand corner, and enter "controller.m"
9. There should be only one result that matches that name, right-click on the file and select: Open With>Other...>TextEdit
10. Once again find the corresponding lines from the code above and add/delete the necessary text and then hit cmd+s or go to File>Save
11. Close out of the TextEdit window

I tried this before posting and it worked, so best of luck.

Also, like I said, I am a newbie too so if someone should respond I would follow their instructions because they're probably more knowledgable than I am

@brunofortes8
Copy link

@brunofortes8 brunofortes8 commented on f5ff965 Aug 2, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It worked, @Ballzier

thank you very much !

@Dkirk25
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I don't know what's wrong. I changed the following lines and files (even the typo in the main.js) and when I double click on the icon, it pops up in the bottom corner for about 2 seconds thinking it's about to load, and then it closes... The older version works, but... lol idk what else to do with this one.

Please sign in to comment.