Skip to content
This repository has been archived by the owner on Jul 26, 2023. It is now read-only.

Commit

Permalink
update project to support new xcode version
Browse files Browse the repository at this point in the history
  • Loading branch information
Disconnecter committed Oct 10, 2016
1 parent b75f369 commit d7d8b16
Show file tree
Hide file tree
Showing 9 changed files with 143 additions and 9,334 deletions.
5 changes: 4 additions & 1 deletion OnlineRadio.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@
isa = PBXProject;
attributes = {
CLASSPREFIX = ZSV;
LastUpgradeCheck = 0450;
LastUpgradeCheck = 0730;
ORGANIZATIONNAME = "Zabolotnyy Sergey";
};
buildConfigurationList = 0F850ED31648FF520043090E /* Build configuration list for PBXProject "OnlineRadio" */;
Expand Down Expand Up @@ -292,6 +292,7 @@
CODE_SIGN_IDENTITY = "iPhone Developer";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
COPY_PHASE_STRIP = NO;
ENABLE_TESTABILITY = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_DYNAMIC_NO_PIC = NO;
GCC_OPTIMIZATION_LEVEL = 0;
Expand Down Expand Up @@ -342,6 +343,7 @@
GCC_PREFIX_HEADER = "OnlineRadio/OnlineRadio-Prefix.pch";
INFOPLIST_FILE = "OnlineRadio/OnlineRadio-Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 5.1;
PRODUCT_BUNDLE_IDENTIFIER = "hata.${PRODUCT_NAME:rfc1034identifier}";
PRODUCT_NAME = "$(TARGET_NAME)";
WRAPPER_EXTENSION = app;
};
Expand All @@ -354,6 +356,7 @@
GCC_PREFIX_HEADER = "OnlineRadio/OnlineRadio-Prefix.pch";
INFOPLIST_FILE = "OnlineRadio/OnlineRadio-Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 5.1;
PRODUCT_BUNDLE_IDENTIFIER = "hata.${PRODUCT_NAME:rfc1034identifier}";
PRODUCT_NAME = "$(TARGET_NAME)";
WRAPPER_EXTENSION = app;
};
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0620"
LastUpgradeVersion = "0730"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand All @@ -23,10 +23,10 @@
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES"
buildConfiguration = "Debug">
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</Testables>
<MacroExpansion>
Expand All @@ -38,15 +38,18 @@
ReferencedContainer = "container:OnlineRadio.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
buildConfiguration = "Debug"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
Expand All @@ -62,10 +65,10 @@
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
buildConfiguration = "Release"
debugDocumentVersioning = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
Expand Down
13 changes: 9 additions & 4 deletions OnlineRadio/OnlineRadio-Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>UIBackgroundModes</key>
<array>
<string>audio</string>
</array>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleDisplayName</key>
Expand All @@ -28,6 +24,15 @@
<string>1.0</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>
<key>UIBackgroundModes</key>
<array>
<string>audio</string>
</array>
<key>UIRequiredDeviceCapabilities</key>
<array>
<string>armv7</string>
Expand Down
1 change: 1 addition & 0 deletions OnlineRadio/ZSVPlayerViewController.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@
@property (retain, nonatomic) IBOutlet UIImageView *logoImg;
@property (retain, nonatomic) IBOutlet UILabel *radioName;
@property (assign, nonatomic) NSInteger currentRadioID;

@end
2 changes: 2 additions & 0 deletions OnlineRadio/ZSVPlayerViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
@interface ZSVPlayerViewController ()

@property (retain, nonatomic) IBOutlet UIButton *playPause;
@property (nonatomic, retain) ZSVRadionItem *radioItem;

@end

Expand Down Expand Up @@ -41,6 +42,7 @@ - (void)viewDidAppear:(BOOL)animated
{
[super viewDidAppear:animated];
_isPlaying = YES;
[self playNewRadioWithRadioItem:[[ZSVAppDelegate radioStations] objectAtIndex:_currentRadioID]];
}

- (IBAction)nextStationPressed:(UIButton *)sender
Expand Down
Loading

0 comments on commit d7d8b16

Please sign in to comment.