I've got a problem - I'm using ShareKit 2.0, and while I'm testing on iOs 5.0.1 I get some memory leaks when I'm trying to share on Twitter. To be exact, at the moment when native ios5 twitter window pops-up, and when i hit "send". The problem seems to be in TWSession. When I'm testing on iOS 4.3, and using custom sharekit twitter window there are no leaks. Any idea on how to fix it? Will this be an issue on the approval process? I'm not using ARC btw.
ShareKit/Twitter memory leak
517 Views Asked by Drabuna AtThere are 2 best solutions below
Sungwook Kim
On
What I have also found the codes caused leaks are as the followings:
Leaked Object # Address Size Responsible Library Responsible Frame NSMallocBlock,1 0xf641c50 32 Bytes Twitter -[TWInFlightSessionCallInfo setRemoteCall:] TWInFlightSessionCallInfo,1 0xf676380 16 Bytes Twitter -[TWSession emptyCallInfo] Malloc 16 Bytes,1 0xf6457c0 16 Bytes Twitter -[TWSession recordAndIssueCallInfo:] Malloc 128 Bytes,2 < multiple > 256 Bytes libdispatch.dylib dispatch_queue_create$VARIANT$up NSLock,1 0xf64b450 64 Bytes Twitter -[TWSession init] TWSession,1 0xf62c3e0 32 Bytes Twitter -[TWTweetComposeViewController session] NSMutableArray,1 0x2c8540 32 Bytes Twitter -[TWSession init] NSMallocBlock,1 0x1084ebb0 32 Bytes Twitter -[TWInFlightSessionCallInfo setRemoteCall:]
Related Questions in OBJECTIVE-C
- How do I customize NSOutlineView to have border color?
- UIWebView Screen Fitting Issue
- How to hide "Now playing url" in control center
- CloudKit: Preventing Duplicate Records
- Image and Text locations in UIButton
- setting OpenGL version in objective-C
- Setup code for xibs in iOS. -awakFromNb:
- realm db, get parent link of object
- CFBundleDocumentType is not working in myproject-Info.plist file
- UIPopoverPresentationController not rendering properly
- Using Storyboard Reference
- Pass Data between two view controllers using 'Delegation' : Objective-C
- Unexpected CALayer Vertical Flipping on 3D Rotation 'Bounce'
- Setting View orientation to portrait is ignored
- UITextField append / between dates while enforcing character limit
Related Questions in IOS
- Overlapping UICollectionView in storyboard
- Cannot pod spec lint because of undeclared type errors
- Is the transactionReceipt data present in dataWithContentsOfURL?
- UIWebView Screen Fitting Issue
- ZXingObjC encoding issues
- iOS: None of the valid provisioning profiles allowed the specific entitlements
- How to hide "Now playing url" in control center
- CloudKit: Preventing Duplicate Records
- Slow performance on ipad erasing image
- Swift code with multiple NSDateFormatter - optimization
- iOS 8.3 Safari crashes on input type=file
- TTTTimeIntervalFormatter always returns strings in English
- How do I add multiple in app purchases in Swift Spritekit?
- Setup code for xibs in iOS. -awakFromNb:
- iOS Voice Over only reads out the title of any alert views
Related Questions in XCODE
- Using Storyboard Reference
- Getting this message in my console in xcode "Ignoring restoreCompletedTransactionsWithApplicationUsername: because already restoring transactions"?
- Error when creating UIImage
- fade in an bounce animation subview
- How to delete static library ".a" file from xcode project?
- Error in main.storyboard
- Is the compiler Xcode uses to produce Assembly code a bad compiler?
- Using paths bonded to a XCode project to be shared
- How to set the time of Local notification in app to random between two times? (swift)
- "Invalid Signature, code object not signed at all" error
- Alarming memory increase with custom segue
- Display both alertTitle and AlertBody on a custom WatchKit notification
- How to make a CocoaPods project work on OS X El Capitan & Xcode 7 Beta?
- Cannot use CTRL+Drag for making a button action in Xcode?
- Labels properties changing in Xcode
Related Questions in TWITTER
- Removing URL features from tokens in NLTK
- Optimizing for Social Leaderboards
- Customizing tweet view using Fabric SDK
- Get email address from Twitter
- Click tweet button after changing data-text
- MongoDB string index that is not text?
- how can I access user details through "oauth_token" from twitter api in ionic framework
- Vine API - User Data based on Anchor
- Twitter/Facebook in-app browser on Android not displaying my site correctly
- how to get stats for twitter ad campaign
- twitter response: "error 32: Could not authenticate you" from Heroku, but not desktop
- Twitter share android titanium with social.js file not working
- Ruby, update twitter avatar and background
- Insights for Twitter service in IBM Bluemix: Search case-sensitive string and other questions
- twitter json formatting in php
Related Questions in SHAREKIT
- Facebook iOS SDK 4.X - How to send "App Requests"
- Remove services in Sharekit
- ShareKit customize SHKSharer appearance
- ShareKit programmatically click "publish"
- iOS ShareKit, twitter logout? facebook status empty?
- get twitter user info
- Sharekit testflight and pods
- ShareKit 2.0 PBXCp Error iPhone?
- Including ShareKit in Three20 project
- iOS: using ShareKit 2.0 to access Facebook. Need to set restriction for alcohol for the app
- Sharekit Action Sheet showing more than 3 buttons?
- Cannot share multiple images with sharekit
- Sharekit 2, problems with connecting to Facebook after user authentication?
- ShareKit/Twitter memory leak
- Duplicate symbol error when using Dropbox SDK with ShareKit SDK
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I have never heard of an app being rejected for a small memory leak. Also, unless the whole point of your app is to send tweets, users are unlikely to send enough tweets to make a big difference (annoying as any leak is).