cezarsignori / MyVideoPlayer

Very basic Video Player using AVFoundation
http://iosguy.com/2012/01/11/multiple-video-playback-on-ios/
98 stars 26 forks source link

Errors when I try to build the code #1

Open Apurva-Udaykumar opened 12 years ago

Apurva-Udaykumar commented 12 years ago

HI,

This is my first shot at xcode so forgive me these are some basic things. But I'm trying to build the project and I get these errors :

/MyVideoPlayer/AppDelegate.h:20:12 /MyVideoPlayer/AppDelegate.h:20:12: error: unknown property attribute 'strong'

/MyVideoPlayer/main.m:15:5 /MyVideoPlayer/main.m:15:5: error: unexpected '@' in program

/MyVideoPlayer/VideoPlayerViewController.m:85:16 /MyVideoPlayer/VideoPlayerViewController.m:85:16: error: property 'playable' not found on object of type 'AVURLAsset *'

Can you tell me what I'm missing?

Thanks, Apurva

cezarsignori commented 12 years ago

Hi Apurva,

This project uses ARC (Automatic Reference Count).

It seems to me that your xcode/current selected compiler doesn't support ARC.

You can either change the code to use the old code fashion format or use llvm with ARC to build the project.

Greetings, Cezar

On Jun 27, 2012, at 11:50 AM, Apurva-Udaykumar wrote:

HI,

This is my first shot at xcode so forgive me these are some basic things. But I'm trying to build the project and I get these errors :

/MyVideoPlayer/AppDelegate.h:20:12 /MyVideoPlayer/AppDelegate.h:20:12: error: unknown property attribute 'strong'

/MyVideoPlayer/main.m:15:5 /MyVideoPlayer/main.m:15:5: error: unexpected '@' in program

/MyVideoPlayer/VideoPlayerViewController.m:85:16 /MyVideoPlayer/VideoPlayerViewController.m:85:16: error: property 'playable' not found on object of type 'AVURLAsset *'

Can you tell me what I'm missing?

Thanks, Apurva


Reply to this email directly or view it on GitHub: https://github.com/cezarsignori/MyVideoPlayer/issues/1

Cezar Signori COO nKey Mobile Solutions +55 48 9959 4501

rakeshclabs commented 11 years ago

Hi Cezar,

This is the awesome code and it really help me a lot. I am using this code but I stuck in a problem. I want to play mute videos. Means I don't want to use sound of multiple videos. Can you please help me to sort out this problem. It will really helpful.

Thanks Rakesh