Discussion Forums  >  Crashes, Memory Warnings

Replies: 6    Views: 174

Absentia
buzztouch Evangelist
Profile
Posts: 960
Reg: Oct 20, 2011
Alaska
20,600
12/02/12 01:13 AM (11 years ago)

Appoxee worked in 1.5, crashing in 2.0

I'm making my first app for a business and told them I would put in an appoxee inbox. I have done this in three apps with no issues using 1.5, but now it keeps locking up. Here's the log, I don't see any crash references, but there is a bunch of thread messages on the side that are confusing to me...it looks as if most of them are referencing the addBadge and updateBadge functions with the message EXC_BAD_ACCESS sigh... 2012-12-01 23:06:47.905 sotan[1650:c07] BT_application: initializing buzztouch application 2012-12-01 23:06:47.907 sotan[1650:c07] BT_device: INIT 2012-12-01 23:06:47.908 sotan[1650:c07] BT_device: Unique UUID exists. 2012-12-01 23:06:47.908 sotan[1650:c07] BT_device: This device is NOT an iPad. 2012-12-01 23:06:47.909 sotan[1650:c07] BT_device: This device can make phone calls 2012-12-01 23:06:47.914 sotan[1650:c07] BT_device: This device can send emails 2012-12-01 23:06:47.915 sotan[1650:c07] BT_device: This device cannot send SMS 2012-12-01 23:06:47.916 sotan[1650:c07] BT_device: This device can report it's location 2012-12-01 23:06:47.917 sotan[1650:c07] BT_device: This device cannot take pictures or videos 2012-12-01 23:06:47.918 sotan[1650:c07] BT_user: INIT 2012-12-01 23:06:47.920 sotan[1650:c07] BT_networkState: INIT 2012-12-01 23:06:47.924 sotan[1650:c07] BT_networkState: Monitoring Connection: WiFi Not Available 2012-12-01 23:06:47.925 sotan[1650:c07] BT_networkState: Monitoring Connection: WiFi Available 2012-12-01 23:06:47.926 sotan[1650:c07] BT_networkState: Monitoring Connection: WiFi Available 2012-12-01 23:06:47.931 sotan[1650:c07] sotan_appDelegate: refreshAppData 2012-12-01 23:06:47.931 sotan[1650:5103] sotan_appDelegate: loadSoundEffects SOUNDS NOT LOADING. SEE appDelegete.m, line 846 2012-12-01 23:06:47.931 sotan[1650:4a0b] sotan_appDelegate: initAudioPlayer in background thread 2012-12-01 23:06:47.934 sotan[1650:c07] BT_fileManager: File does not exist in cached directory: cachedAppConfig.txt 2012-12-01 23:06:47.937 sotan[1650:c07] BT_fileManager: File does exist in Xcode bundle: BT_config.txt 2012-12-01 23:06:47.939 sotan[1650:c07] BT_fileManager: readTextFileFromBundleWithEncoding: BT_config.txt encoding: -1 2012-12-01 23:06:47.940 sotan[1650:c07] sotan_appDelegate: Parsing configuration data included in the project bundle. 2012-12-01 23:06:47.935 sotan[1650:4a0b] BT_audioPlayer: INIT (preparing it for possible background audio) 2012-12-01 23:06:47.945 sotan[1650:c07] BT_application: validateApplicationData 2012-12-01 23:06:47.954 sotan[1650:c07] BT_application: The application data appears to be valid. 2012-12-01 23:06:47.954 sotan[1650:c07] sotan_appDelegate: configureEnvironmentUsingAppData 2012-12-01 23:06:47.955 sotan[1650:c07] BT_audioPlayer: stopAudio 2012-12-01 23:06:47.956 sotan[1650:c07] BT_application: parseJSONData: parsing application data 2012-12-01 23:06:47.960 sotan[1650:c07] BT_application: parsing themes, count: 1 2012-12-01 23:06:47.960 sotan[1650:c07] BT_application: parsing tabs, count: 0 2012-12-01 23:06:47.961 sotan[1650:c07] BT_application: parsing screens, count: 24 2012-12-01 23:06:47.965 sotan[1650:c07] BT_application: buildInterface app interface 2012-12-01 23:06:47.965 sotan[1650:c07] BT_application: building a single navigation controller app 2012-12-01 23:06:47.965 sotan[1650:c07] BT_viewControllerManager: initViewControllerForScreen nickname: "SoTan" itemId: E1934ABD5FA9B8DB83E9A32 type: BTA_design_menu 2012-12-01 23:06:47.966 sotan[1650:c07] BTA_design_menu: INIT 2012-12-01 23:06:47.966 sotan[1650:c07] BTA_design_menu: viewDidLoad 2012-12-01 23:06:47.967 sotan[1650:c07] BT_viewUtilities: getTableViewForScreen with nickname: "SoTan" and itemId: E1934ABD5FA9B8DB83E9A32 and type: BTA_design_menu 2012-12-01 23:06:47.969 sotan[1650:c07] BT_rotatingNavController: pushViewController 2012-12-01 23:06:47.969 sotan[1650:c07] BT_rotatingNavController: pushViewController for screen: E1934ABD5FA9B8DB83E9A32 2012-12-01 23:06:47.975 sotan[1650:c07] BT_viewUtilities: setting nav-bar background for "SoTan" color: #000000 2012-12-01 23:06:47.994 sotan[1650:c07] BT_application: This app does not use a splash screen 2012-12-01 23:06:47.994 sotan[1650:c07] BT_application: App has "Start Location Updates" set to "No". App is NOT starting the location monitor. 2012-12-01 23:06:47.995 sotan[1650:c07] BT_background_view: INIT 2012-12-01 23:06:47.995 sotan[1650:c07] BT_fileManager: File does exist in Xcode bundle: blank.png 2012-12-01 23:06:47.996 sotan[1650:c07] BT_background_view: Image for background view exists in Xcode bundle - not downloading. 2012-12-01 23:06:47.997 sotan[1650:c07] BT_background_view: setImage 2012-12-01 23:06:47.997 sotan[1650:c07] sotan_appDelegate: supportedInterfaceOrientationsForWindow 2012-12-01 23:06:48.001 sotan[1650:c07] sotan_appDelegate: supportedInterfaceOrientationsForWindow 2012-12-01 23:06:48.002 sotan[1650:c07] sotan_appDelegate: supportedInterfaceOrientationsForWindow 2012-12-01 23:06:48.004 sotan[1650:c07] sotan_appDelegate: supportedInterfaceOrientationsForWindow 2012-12-01 23:06:48.008 sotan[1650:c07] BTA_design_menu: viewWillAppear 2012-12-01 23:06:48.009 sotan[1650:c07] BT_viewUtilities: configureBackgroundAndNavBar for screen with nickname: "SoTan" and itemId: E1934ABD5FA9B8DB83E9A32 and type: BTA_design_menu 2012-12-01 23:06:48.024 sotan[1650:c07] BT_fileManager: File does exist in Xcode bundle: blank.png 2012-12-01 23:06:48.025 sotan[1650:c07] BT_background_view: Image for background view exists in Xcode bundle - not downloading. 2012-12-01 23:06:48.025 sotan[1650:c07] BT_background_view: setImage 2012-12-01 23:06:48.044 sotan[1650:c07] sotan_appDelegate: supportedInterfaceOrientationsForWindow 2012-12-01 23:06:48.046 sotan[1650:c07] sotan_appDelegate: supportedInterfaceOrientationsForWindow 2012-12-01 23:06:48.047 sotan[1650:c07] sotan_appDelegate: supportedInterfaceOrientationsForWindow 2012-12-01 23:06:48.047 sotan[1650:c07] sotan_appDelegate: supportedInterfaceOrientationsForWindow 2012-12-01 23:06:48.048 sotan[1650:c07] sotan_appDelegate: hideProgress 2012-12-01 23:06:48.070 sotan[1650:c07] sotan_appDelegate: applicationDidBecomeActive 2012-12-01 23:06:48.071 sotan[1650:c07] sotan_appDelegate: reportToCloud 2012-12-01 23:06:48.071 sotan[1650:c07] sotan_appDelegate: reporting to cloud at : http://www.buzztouch.com/api/app/?command=reportToCloud&appGuid=JABDF09BE7438D2230AE5D291&apiKey=BBA0579AC5D6977346589BD&apiSecret=22E8A55B0E174D3AC9959DD&deviceId=[deviceId]&deviceLatitude=[deviceLatitude]&deviceLongitude=[deviceLongitude]&deviceModel=[deviceModel]&userId=[userId] 2012-12-01 23:06:48.072 sotan[1650:c07] BT_strings: mergeBTVariablesInString (after merge): http://www.buzztouch.com/api/app/?command=reportToCloud&appGuid=JABDF09BE7438D2230AE5D291&apiKey=BBA0579AC5D6977346589BD&apiSecret=22E8A55B0E174D3AC9959DD&deviceId=AE815554-E3CB-486C-8139-025C2A5B8504&deviceLatitude=0&deviceLongitude=0&deviceModel=iPhone Simulator&userId= 2012-12-01 23:06:48.095 sotan[1650:c07] sotan_appDelegate: supportedInterfaceOrientationsForWindow 2012-12-01 23:06:48.115 sotan[1650:c07] BT_networkState: Monitoring Connection: WiFi Not Available 2012-12-01 23:06:48.140 sotan[1650:c07] BTA_design_menu: loadData 2012-12-01 23:06:48.141 sotan[1650:c07] BTA_design_menu: using menu items from the screens configuration data. 2012-12-01 23:06:48.141 sotan[1650:c07] BTA_design_menu: layoutScreen 2012-12-01 23:06:48.145 sotan[1650:730b] BT_fileManager: File does exist in Xcode bundle: sotan.png 2012-12-01 23:06:48.145 sotan[1650:730b] BT_item: using image from Xcode bundle: sotan.png 2012-12-01 23:06:48.147 sotan[1650:730f] BT_fileManager: File does exist in Xcode bundle: prices.png 2012-12-01 23:06:48.147 sotan[1650:730f] BT_item: using image from Xcode bundle: prices.png 2012-12-01 23:06:48.149 sotan[1650:7313] BT_fileManager: File does exist in Xcode bundle: spray.png 2012-12-01 23:06:48.149 sotan[1650:7313] BT_item: using image from Xcode bundle: spray.png 2012-12-01 23:06:48.150 sotan[1650:7503] BT_fileManager: File does exist in Xcode bundle: lotions.png 2012-12-01 23:06:48.150 sotan[1650:7503] BT_item: using image from Xcode bundle: lotions.png 2012-12-01 23:06:48.355 sotan[1650:c07] sotan_appDelegate: reportToCloud 2012-12-01 23:06:48.356 sotan[1650:c07] sotan_appDelegate: reporting to cloud at : http://www.buzztouch.com/api/app/?command=reportToCloud&appGuid=JABDF09BE7438D2230AE5D291&apiKey=BBA0579AC5D6977346589BD&apiSecret=22E8A55B0E174D3AC9959DD&deviceId=[deviceId]&deviceLatitude=[deviceLatitude]&deviceLongitude=[deviceLongitude]&deviceModel=[deviceModel]&userId=[userId] 2012-12-01 23:06:48.357 sotan[1650:c07] BT_strings: mergeBTVariablesInString (after merge): http://www.buzztouch.com/api/app/?command=reportToCloud&appGuid=JABDF09BE7438D2230AE5D291&apiKey=BBA0579AC5D6977346589BD&apiSecret=22E8A55B0E174D3AC9959DD&deviceId=AE815554-E3CB-486C-8139-025C2A5B8504&deviceLatitude=0&deviceLongitude=0&deviceModel=iPhone Simulator&userId= 2012-12-01 23:06:48.452 sotan[1650:c07] sotan_appDelegate: lastModified (value on server): Sun, 02 Dec 2012 07:37:41 -0800 2012-12-01 23:06:48.453 sotan[1650:c07] BT_fileManager: File does exist in cached directory: appModified.txt 2012-12-01 23:06:48.453 sotan[1650:c07] BT_fileManager: readTextFileFromCacheWithEncoding: appModified.txt encoding: -1 2012-12-01 23:06:48.454 sotan[1650:c07] sotan_appDelegate: previousModified (value on device): Sun, 02 Dec 2012 07:37:41 -0800 2012-12-01 23:06:48.454 sotan[1650:c07] BT_fileManager: saveTextFileToCacheWithEncoding: appModified.txt encodingFlag: -1 2012-12-01 23:06:48.746 sotan[1650:c07] sotan_appDelegate: lastModified (value on server): Sun, 02 Dec 2012 07:37:41 -0800 2012-12-01 23:06:48.746 sotan[1650:c07] BT_fileManager: File does exist in cached directory: appModified.txt 2012-12-01 23:06:48.747 sotan[1650:c07] BT_fileManager: readTextFileFromCacheWithEncoding: appModified.txt encoding: -1 2012-12-01 23:06:48.747 sotan[1650:c07] sotan_appDelegate: previousModified (value on device): Sun, 02 Dec 2012 07:37:41 -0800 2012-12-01 23:06:48.747 sotan[1650:c07] BT_fileManager: saveTextFileToCacheWithEncoding: appModified.txt encodingFlag: -1 (lldb)
 
aussiedra
Code is Art
Profile
Posts: 431
Reg: Dec 25, 2010
Brisbane, Austr...
8,260
like
12/02/12 02:42 AM (11 years ago)
you have to use the files in the new sdk and do the following changes. without this your app crashes due to the new addition APP_SECRET add in the AppDelegate.h //#define PROD #define APP_SDK_ID @"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX" #define APP_SECRET @"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" and change AppDelegate.m to //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// - (NSString *) AppoxeeDelegateAppSDKID { //Replace the "xxx" with your SDK key. //Copy the SDK key as it was generated when you added a new app. //You can now find it under Settings -> Apps & SDK Keys -> App Name return APP_SDK_ID; } - (NSString *) AppoxeeDelegateAppSecret { return APP_SECRET; }
 
Absentia
buzztouch Evangelist
Profile
Posts: 960
Reg: Oct 20, 2011
Alaska
20,600
like
12/02/12 02:48 AM (11 years ago)
Hey, thanks a lot for the response - unfortunately though, I already have the newest SDK and the APP_SECRET code integrated into my app. Have you gotten Appoxee to work in a 2.0 app - if so: 1. Did you use the tutorial by Everest11? 2. Were you able to get badges to show?
 
LA
Aspiring developer
Profile
Posts: 3278
Reg: Aug 16, 2012
Jerseyville, IL
42,880
like
12/02/12 07:41 AM (11 years ago)
Hi @Absentia, Out of curiosity, did you sync it with the control panel's config.file? That's the first thing that jumps out at me. LA
 
Dkeller
Aspiring developer
Profile
Posts: 153
Reg: Aug 18, 2011
Saint Augustine
3,680
like
12/02/12 09:21 AM (11 years ago)
I have been able to integrate Appoxee into a 2.0 app and it worked just fine. I was able to get badges to appear on the app icon on the home screen, but not on the inbox icon within the app. If anyone else knows how to get the icon to appear within the app, please post! Also, yes, I used Everest11's tutorial to integrate!
 
Absentia
buzztouch Evangelist
Profile
Posts: 960
Reg: Oct 20, 2011
Alaska
20,600
like
12/02/12 11:04 AM (11 years ago)
@ LA - yeah I made sure the config was all synced up so I doubt that's the problem @ Dkeller - I think that's the problem...I had figured out a way to get the badge to show within the app by turning it into a Socialize "action button" and attaching it to the Socialize "action bar". I suppose I will just have to sacrifice the awesomeness of having the badge pop up inside the app
 
Appoxee Team
I hate code!
Profile
Posts: 6
Reg: Jan 15, 2012
Madrid
60
like
12/04/12 07:05 AM (11 years ago)
Hi Dkeller, We'd like to assist you with your inquiry, With regards to your question - try to retain the button you want your badge to appear on. Check it's value (if it's not null) when trying to add the badge. Let us know if this helps.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.