Comments (11)
I have the same
Message from debugger: Terminated due to memory issue
Probably a memory leak issue somewhere
http://stackoverflow.com/questions/19203790/is-it-possible-to-debug-terminated-due-to-memory-error has some suggestions
Apart from this, this is a great app :) really nice work
from pokemongo-webspoof.
The only issues I have are two warnings -
The provisioning profile "iOS Team Provisioning Profile: com.nameichose" is expiring soon
and
Warning: skipping file '/var/folders/3q/4lt7sqgd1fj27b6gbwkht8lc0000gn/T/tmp-61155lMmEQI3B4ej4/pokemonLocation.gpx' (unexpected file type 'text' in Frameworks & Libraries build phase)
I'm running xcode 7.3.1
from pokemongo-webspoof.
I receive the issue also, can you open the Xcode debugger console and see what message do you have when it quits. For instance I have:
Message from debugger: Terminated due to memory issue
I don't really know what to do since the app is a blank page ¯_(ツ)_/¯
from pokemongo-webspoof.
Thank's to my iOS dev co-worker @favret I have enabled background running mode for the app, it should not crash anymore. Will update release today, I want to finish #10 in it also 👍
from pokemongo-webspoof.
Released in v1.1.0 https://github.com/iam4x/pokemongo-webspoof/releases/tag/v1.1.0
from pokemongo-webspoof.
I'm still having the same issue "Message from debugger: Terminated due to memory issue" using the lastest version (v1.1.0), iPhone 6, iOS 9.3.2
from pokemongo-webspoof.
kahopoon/Pokemon-Go-Controller#21 (comment)
from pokemongo-webspoof.
The solution is to play a blank mp3 on the background, I tried it and I was able to play for more than one hour without any memory issue. I'm not very familiar with Xcode so I'm going to show how I do it and I hope someone with more experience can create a pull request.
- Project > Capabilities > Background Modes: Mark only "Audio, Airplay, and Picture in Picture"
- Project > Build Phases > Link Binary with Libraries: Add "AudioToolbox.framework" and "AVFoundation.framework"
- Add a blank mp3 (http://www.xamuel.com/blank-mp3s/) named "silence.mp3" to the project
- Overwrite "ViewController.m" with the following code:
//
// ViewController.m
// pokemon-webspoof
//
// Created by iam4x on 15/07/2016.
// Copyright © 2016 iam4x. All rights reserved.
//
#import "ViewController.h"
#import "AVFoundation/AVFoundation.h"
#import "AudioToolbox/AudioToolbox.h"
@interface ViewController () <AVAudioPlayerDelegate> {
AVAudioPlayer *_silenceBgPlayer; // strong reference
}
@end
@implementation ViewController
- (void)viewDidLoad {
NSURL *url = [NSURL fileURLWithPath:[[NSBundle mainBundle] pathForResource:@"silence" ofType:@"mp3"]];
_silenceBgPlayer = [[AVAudioPlayer alloc] initWithContentsOfURL:url error:nil];
[[AVAudioSession sharedInstance] setCategory:AVAudioSessionCategoryPlayback error:nil];
[[AVAudioSession sharedInstance] setActive: YES error: nil];
[[UIApplication sharedApplication] beginReceivingRemoteControlEvents];
_silenceBgPlayer.numberOfLoops = -1;
[_silenceBgPlayer play];
[super viewDidLoad];
// Do any additional setup after loading the view, typically from a nib.
}
- (void)didReceiveMemoryWarning {
[super didReceiveMemoryWarning];
// Dispose of any resources that can be recreated.
}
@end
I got the idea from: kahopoon/Pokemon-Go-Controller#21 (comment)
from pokemongo-webspoof.
Working on this implementation
from pokemongo-webspoof.
I am still having this issue. The app will close with the same memory message.
from pokemongo-webspoof.
Step 1 and 2 make sense and I know how to do it.
But Step 3 and 4 is quite difficult for me.
I don't know where I can add a silence-MP3 to the project and I can't find ViewController.m
Just a ViewController.swift file
from pokemongo-webspoof.
Related Issues (20)
- How may I modify some codes and run it? HOT 1
- Google Maps API error 400 HOT 4
- (macOS Mojave) Alternative to "Auto update Xcode Location" HOT 4
- Pokemon Go Webspoof doesn't launch Xcode 10 HOT 3
- Opening app crashes computer on Mojave HOT 1
- Does the introduction of Adventure Sync make this not safe? HOT 1
- Map fails to load after update to Mojave
- Request_Denied when clicking on location HOT 37
- over quary limit error HOT 2
- This page didn't load Google Maps correctly HOT 1
- The biggest issue here is that nobody is here for a help lol HOT 1
- Could not launch "Pokemon WebSpoof" HOT 21
- Could not use IP Location HOT 1
- Performance issue with Mojave? HOT 1
- Map does not load anymore HOT 1
- No more shiny pokemon HOT 2
- Request Denied HOT 2
- NO SUCH THING AS Bundle Identifier. HOT 1
- black screen on iphone
- Pokemon Webspoof app not supported HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pokemongo-webspoof.