Skip to content

Commit

Permalink
Update deprecated settings
Browse files Browse the repository at this point in the history
  • Loading branch information
cybergarage committed Sep 27, 2021
1 parent 1a368c7 commit fa2affa
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 2 deletions.
29 changes: 29 additions & 0 deletions examples/upnpbrowser/ios/upnpbrowser.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,11 @@
isa = PBXProject;
attributes = {
LastUpgradeCheck = 1300;
TargetAttributes = {
1D6058900D05DD3D006BFB54 = {
ProvisioningStyle = Automatic;
};
};
};
buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "upnpbrowser" */;
compatibilityVersion = "Xcode 3.2";
Expand Down Expand Up @@ -291,7 +296,11 @@
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ENABLE_OBJC_WEAK = YES;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = "";
GCC_DYNAMIC_NO_PIC = NO;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
Expand All @@ -302,10 +311,12 @@
../../../wrapper/objc,
);
INFOPLIST_FILE = upnpbrowser.plist;
MARKETING_VERSION = 1.0;
OTHER_CFLAGS = "-DTARGET_OS_IPHONE";
OTHER_LDFLAGS = "-lxml2";
PRODUCT_BUNDLE_IDENTIFIER = org.cybergarage.ihb;
PRODUCT_NAME = UPnPBrowser;
PROVISIONING_PROFILE_SPECIFIER = "";
SDKROOT = iphoneos;
};
name = Debug;
Expand All @@ -315,7 +326,11 @@
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ENABLE_OBJC_WEAK = YES;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
COPY_PHASE_STRIP = YES;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = "";
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = upnpbrowser.pch;
HEADER_SEARCH_PATHS = (
Expand All @@ -324,10 +339,12 @@
../../../wrapper/objc,
);
INFOPLIST_FILE = upnpbrowser.plist;
MARKETING_VERSION = 1.0;
OTHER_CFLAGS = "-DTARGET_OS_IPHONE";
OTHER_LDFLAGS = "-lxml2";
PRODUCT_BUNDLE_IDENTIFIER = org.cybergarage.ihb;
PRODUCT_NAME = UPnPBrowser;
PROVISIONING_PROFILE_SPECIFIER = "";
SDKROOT = iphoneos;
};
name = Release;
Expand Down Expand Up @@ -364,6 +381,8 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
MARKETING_VERSION = "";
SDKROOT = iphoneos;
};
name = Distribution;
Expand All @@ -373,7 +392,11 @@
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ENABLE_OBJC_WEAK = YES;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
COPY_PHASE_STRIP = YES;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = "";
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = upnpbrowser.pch;
HEADER_SEARCH_PATHS = (
Expand All @@ -382,10 +405,12 @@
../../../wrapper/objc,
);
INFOPLIST_FILE = upnpbrowser.plist;
MARKETING_VERSION = 1.0;
OTHER_CFLAGS = "-DTARGET_OS_IPHONE";
OTHER_LDFLAGS = "-lxml2";
PRODUCT_BUNDLE_IDENTIFIER = org.cybergarage.ihb;
PRODUCT_NAME = UPnPBrowser;
PROVISIONING_PROFILE_SPECIFIER = "";
SDKROOT = iphoneos;
};
name = Distribution;
Expand Down Expand Up @@ -423,6 +448,8 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
MARKETING_VERSION = "";
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
};
Expand Down Expand Up @@ -460,6 +487,8 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
MARKETING_VERSION = "";
SDKROOT = iphoneos;
};
name = Release;
Expand Down
20 changes: 20 additions & 0 deletions include/mupnp/util/time.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,26 @@ typedef size_t mUpnpTime;
typedef long mUpnpTime;
#endif

/****************************************
* FIXME: XCode 13 might not include <time.h> normally
****************************************/

#ifndef _TIME_H_
struct tm {
int tm_sec; /* seconds after the minute [0-60] */
int tm_min; /* minutes after the hour [0-59] */
int tm_hour; /* hours since midnight [0-23] */
int tm_mday; /* day of the month [1-31] */
int tm_mon; /* months since January [0-11] */
int tm_year; /* years since 1900 */
int tm_wday; /* days since Sunday [0-6] */
int tm_yday; /* days since January 1 [0-365] */
int tm_isdst; /* Daylight Savings Time flag */
long tm_gmtoff; /* offset from UTC in seconds */
char *tm_zone; /* timezone abbreviation */
};
#endif

/****************************************
* Function
****************************************/
Expand Down
4 changes: 2 additions & 2 deletions wrapper/objc/xcode/mUPnP4ObjC.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -288,11 +288,11 @@
};
buildConfigurationList = 211481BB1959863A00B8EC17 /* Build configuration list for PBXProject "mUPnP4ObjC" */;
compatibilityVersion = "Xcode 3.2";
developmentRegion = English;
developmentRegion = en;
hasScannedForEncodings = 0;
knownRegions = (
English,
en,
Base,
);
mainGroup = 211481B71959863A00B8EC17;
productRefGroup = 211481C21959863A00B8EC17 /* Products */;
Expand Down

0 comments on commit fa2affa

Please sign in to comment.