32031

How to revert to previous XCode version?

I have an app I am working on that is a universal iPhone/iPad app. I have been wanting to use analytics for quite some time now and so I went in and setup the Flurry sdk, implemented a few of the methods, and I was set to go.

A few other things happened with the app that made me think I should update my SDK, so I went ahead and updated to 3.2.4, and now when I try and run the app on my iPad, there are some errors:

_UIBackgroundTaskInvalid", referenced from:

_UIBackgroundTaskInvalid$non_lazy_ptr in libFlurry.a(FlurryAPI.o)

(maybe you meant: _UIBackgroundTaskInvalid$non_lazy_ptr)

ld: symbol(s) not found

collect2: ld returned 1 exit status

After doing some reading, it looks as though Apple is trying to block the use of Flurry's api to get information about the user's device...

The problem is, before I downloaded that update, there wasn't any problems, and there weren't any errors. Can I just go back to the old one and claim ignorance? Will Apple reject the update if it uses Flurry?

Does anybody have any experience with this? What should I do?

Answer1:

UIBackgroundTaskInvalid was added in 4.0. It looks like libFlurry.a is compiled for OS 4.0. It will not link against the 3.2 SDK. There are two ways to fix this:

    <li>Set the Base SDK to 4.0 (or 4.1 or whatever) and the Deployment Target to 3.2 (or 3.1 or whatever). This is probably what you should be doing anyway.</li> <li>Rebuild libFlurry.a against the 3.2 SDK.</li> </ul>

Recommend

  • OpenVMS - DELETE Line if TEXT like x
  • Undefined symbols when linking PhoneGap static library in MonoTouch
  • Ordering lexer rules in a grammar using ANTLR4
  • Convert cbind() format for binomial glm in R to a dataframe with individual rows
  • Errors building R-packages for conda
  • Android Studio memory usage Ubuntu 16
  • OSX Installing Rsymphony - linking headers and libs
  • Weird linker problem with static const class members
  • RAdwords error (“server certificate verification failed”)
  • ube error: _mm_aeskeygenassist_si128 intrinsic requires at least -xarch=aes
  • Python Multiple file writing question
  • Spring Web Security locks Neo4j embedded database
  • What going wrong in using PropertiesConfiguration?
  • cast stl::vector containing pointers to stl::vector containing constant pointers
  • How to solve “The hierarchy of the type is inconsistent” error in Java Eclipse?
  • Left fixed columns with table colspan
  • How do I know what reference to include to import a specific .NET namespace?
  • Google Player Game Service Error: Can't build the sample game
  • Facebook iOS SDK Not Calling Completion Handler
  • How to create CGPath from a SKSpriteNode in SWIFT
  • Clarification on min distance on LocationManager.requestLocationUpdates method, min Distance paramet
  • ASP.NET MVC Application won't update some controllers
  • Web.config system.webserver errors
  • Does Mobilefirst provide a provision to access web services directly?
  • Android application: how to use the camera and grab the image bytes?
  • How to revert to previous XCode version?
  • How to get Eclipse Oxygen to run on Java 9
  • Make VS2015 use angular-cli ng at build time in a .NET project
  • Get object from AWS S3 as a stream
  • recyclerView does not call the onBindViewHolder when scroll in the view
  • Perl system calls when running as another user using sudo
  • Where to put my custom functions in Wordpress?
  • How to get next/previous record number?
  • SVN: Merging two branches together
  • Numpy divide by zero. Why?
  • Hibernate gives error error as “Access to DialectResolutionInfo cannot be null when 'hibernate.
  • Confusion with PayPal's monthly billing cycle
  • Error creating VM instance in Google Compute Engine
  • How to CLICK on IE download dialog box i.e.(Open, Save, Save As…)
  • Can Visual Studio XAML designer handle font family names with spaces as a resource?