44437

MPPlayableContentManagerContext error in Xcode 6.4

Question:

I was working with a iOS project and Xcode 6.3.2 and the project was compiling and running perfect, but Today I have updated to Xcode 6.4 and now I can't compily the project because "MPPlayableContentManagerContext" from MediaPlayer framework are failing. I have many errors in this framework class.

Someone know the reason?

<img alt="Screenshot" class="b-lazy" data-src="https://i.stack.imgur.com/uabwc.png" data-original="https://i.stack.imgur.com/uabwc.png" src="https://etrip.eimg.top/images/2019/05/07/timg.gif" />

Thank you,

Kind regards.

Answer1:

It is happening because of the use of NBUAvailability.h <a href="https://gist.github.com/rivera-ernesto/7228433" rel="nofollow">https://gist.github.com/rivera-ernesto/7228433</a>

You have to add the version 8_4 to the list:

#if __IPHONE_OS_VERSION_SOFT_MAX_REQUIRED < __IPHONE_8_4 #undef __AVAILABILITY_INTERNAL__IPHONE_8_4 #define __AVAILABILITY_INTERNAL__IPHONE_8_4 __NBU_AVAILABILITY_STARTING("8.4") #define __NBU_APICHECK_8_4(_ios) __NBU_AVAILABILITY_STARTING("8.4") #else #define __NBU_APICHECK_8_4(_ios) CF_AVAILABLE_IOS(_ios) #endif

Recommend

  • Android Studio reads Music file as text file,How do I revert it?
  • Updating Ui Components in Activity based on MediaPlayer object from Service While Playing music file
  • WMV file in an ASP.NET page
  • playing video in iOS 5
  • Android: playing audio files in /res/raw by file name
  • media player does not work in my code
  • How to make Java compiler generate line numbers in compiled code
  • Mysql stored procedure error
  • functions and when to use brackets/parenthesis
  • Memory usage and time for execution for another process using C#?
  • Hibernate query filter on collection
  • How do I run my Specs with the previous version of Rspec?
  • What is the best Linux distro to work with Ruby on Rails? [closed]
  • How to re-render views using Angular JS
  • Any command in mysql equivalent to Oracle's autotrace for performance turning
  • Grouping by blank nodes
  • TypeError: 'builtin_function_or_method' object has no attribute '__getitem__'
  • Interpolation method that does not add unnecessary extremums
  • CUDA Debugging - VS on windows workstation, GPUs on Linux server?
  • When interface inheritance in Java is useful?
  • android-support-v7-appcompat has same attrs as actionbarsherlock library
  • Timeout a query
  • OpenMP and File I/O
  • PyQt4 application on Windows is crashing on exit
  • MAVEN : Run Multiple Maven Project using Maven Test
  • How can I prevent the need to copy strings passed to a avr-gcc C++ constructor?
  • Ruby 1.8.6 Array#uniq not removing duplicate hashes
  • Available space left on drive - WinAPI - Windows CE
  • jquery validation - waiting for remote check to complete
  • using html data-attributes as css-variable (i.e. text-shadow)
  • How to log in to an HTTPS website with Jsoup?
  • How can I get the choice “H2” back in the H2 consol?
  • NHibernate manually control fetching
  • how does System.Web.HttpRequest::PathInfo work?
  • Scala multiline string placeholder
  • Does Mobilefirst provide a provision to access web services directly?
  • Yii2: Config params vs. const/define
  • Ajax Loaded meta Tags
  • Exchange data b/w iOS devices using Bluetooth 4.0
  • KeystoneJS: Relationships in Admin UI not updating