Titanium JIRA Archive
Appcelerator Community (AC)

[AC-1853] iOS build fails if computer's date is moved forward

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionCannot Reproduce
Resolution Date2014-01-12T19:09:57.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsStudio, Titanium SDK & CLI
Labelsn/a
ReporterJason Kritikos
AssigneeRitu Agrawal
Created2014-01-08T11:21:27.000+0000
Updated2016-03-08T07:40:45.000+0000

Description

1) Build an iOS app 2) Change the system date on OSX System settings (while the app is still running) by unticking the 'Set date and time automatically' checkbox and changing the current year to +1 (e.g. 2015) 3) Terminate the iOS simulator and try to build again. 4) It should work fine, but now if you switch the sysdate back to the current date the project will not build again unless you change the sysdate back to the future date! The error is: [ERROR] : 2014-01-08 12:41:38.924 xcodebuild[4444:1a03] DVTAssertions: Warning in /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-3564.1/Xcode3Sources/XcodeIDE/Frameworks/DevToolsBase/pbxcore/SpecificationTypes/XCGccMakefileDependencies.m:78 [ERROR] : Details: Failed to load dependencies output contents from `/Users/jace/Documents/Titanium Studio Workspace/dogsquare/build/iphone/build/dogsquare.build/Debug-iphonesimulator/dogsquare.build/Objects-normal/i386/TiMapPinAnnotationView.d''. Error: Error Domain=NSCocoaErrorDomain Code=260 "The file “TiMapPinAnnotationView.d” couldn’t be opened because there is no such file." UserInfo=0x7fc5456874d0 {NSFilePath=/Users/jace/Documents/Titanium Studio Workspace/dogsquare/build/iphone/build/dogsquare.build/Debug-iphonesimulator/dogsquare.build/Objects-normal/i386/TiMapPinAnnotationView.d, NSUnderlyingError=0x7fc545654300 "The operation couldn’t be completed. No such file or directory"}. User info: { [ERROR] : NSFilePath = "/Users/jace/Documents/Titanium Studio Workspace/dogsquare/build/iphone/build/dogsquare.build/Debug-iphonesimulator/dogsquare.build/Objects-normal/i386/TiMapPinAnnotationView.d"; [ERROR] : NSUnderlyingError = "Error Domain=NSPOSIXErrorDomain Code=2 \"The operation couldn\U2019t be completed. No such file or directory\""; [ERROR] : }. [ERROR] : Function: void XCGccMakefileDependenciesParsePathsFromRuleFile(NSString *__strong, F) [F = <lambda at /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-3564.1/Xcode3Sources/XcodeIDE/Frameworks/DevToolsBase/pbxcore/SpecificationTypes/XCGccMakefileDependencies.m:168:73>] [ERROR] : Thread: <NSThread: 0x7fc5456542c0>{name = (null), num = 7} [ERROR] : Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide. [ERROR] : 2014-01-08 12:41:38.927 xcodebuild[4444:1603] DVTAssertions: Warning in /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-3564.1/Xcode3Sources/XcodeIDE/Frameworks/DevToolsBase/pbxcore/SpecificationTypes/XCGccMakefileDependencies.m:78 [ERROR] : Details: Failed to load dependencies output contents from /Users/jace/Documents/Titanium Studio Workspace/dogsquare/build/iphone/build/dogsquare.build/Debug-iphonesimulator/dogsquare.build/Objects-normal/i386/TiUITableViewAction.d''. Error: Error Domain=NSCocoaErrorDomain Code=260 "The file “TiUITableViewAction.d” couldn’t be opened because there is no such file." UserInfo=0x7fc545356350 {NSFilePath=/Users/jace/Documents/Titanium Studio Workspace/dogsquare/build/iphone/build/dogsquare.build/Debug-iphonesimulator/dogsquare.build/Objects-normal/i386/TiUITableViewAction.d, NSUnderlyingError=0x7fc5453562a0 "The operation couldn’t be completed. No such file or directory"}. User info: { [ERROR] : NSFilePath = "/Users/jace/Documents/Titanium Studio Workspace/dogsquare/build/iphone/build/dogsquare.build/Debug-iphonesimulator/dogsquare.build/Objects-normal/i386/TiUITableViewAction.d"; [ERROR] : NSUnderlyingError = "Error Domain=NSPOSIXErrorDomain Code=2 \"The operation couldn\U2019t be completed. No such file or directory\""; [ERROR] : }. [ERROR] : Function: void XCGccMakefileDependenciesParsePathsFromRuleFile(NSString *__strong, F) [F = <lambda at /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-3564.1/Xcode3Sources/XcodeIDE/Frameworks/DevToolsBase/pbxcore/SpecificationTypes/XCGccMakefileDependencies.m:168:73>] [ERROR] : Thread: <NSThread: 0x7fc545356260>{name = (null), num = 10} [ERROR] : Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide. [ERROR] : 2014-01-08 12:41:38.923 xcodebuild[4444:5e07] DVTAssertions: Warning in /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-3564.1/Xcode3Sources/XcodeIDE/Frameworks/DevToolsBase/pbxcore/SpecificationTypes/XCGccMakefileDependencies.m:78 [ERROR] : Details: Failed to load dependencies output contents from /Users/jace/Documents/Titanium Studio Workspace/dogsquare/build/iphone/build/dogsquare.build/Debug-iphonesimulator/dogsquare.build/Objects-normal/i386/TiFile.d''. Error: Error Domain=NSCocoaErrorDomain Code=260 "The file “TiFile.d” couldn’t be opened because there is no such file." UserInfo=0x7fc544dfad30 {NSFilePath=/Users/jace/Documents/Titanium Studio Workspace/dogsquare/build/iphone/build/dogsquare.build/Debug-iphonesimulator/dogsquare.build/Objects-normal/i386/TiFile.d, NSUnderlyingError=0x7fc544dfab70 "The operation couldn’t be completed. No such file or directory"}. User info: { [ERROR] : NSFilePath = "/Users/jace/Documents/Titanium Studio Workspace/dogsquare/build/iphone/build/dogsquare.build/Debug-iphonesimulator/dogsquare.build/Objects-normal/i386/TiFile.d"; [ERROR] : NSUnderlyingError = "Error Domain=NSPOSIXErrorDomain Code=2 \"The operation couldn\U2019t be completed. No such file or directory\""; [ERROR] : }. [ERROR] : Function: void XCGccMakefileDependenciesParsePathsFromRuleFile(NSString *__strong, F) [F = <lambda at /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-3564.1/Xcode3Sources/XcodeIDE/Frameworks/DevToolsBase/pbxcore/SpecificationTypes/XCGccMakefileDependencies.m:168:73>] [ERROR] : Thread: <NSThread: 0x7fc544dfab30>{name = (null), num = 8} [ERROR] : Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide. [ERROR] : 2014-01-08 12:41:38.928 xcodebuild[4444:3603] DVTAssertions: Warning in /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-3564.1/Xcode3Sources/XcodeIDE/Frameworks/DevToolsBase/pbxcore/SpecificationTypes/XCGccMakefileDependencies.m:78 [ERROR] : Details: Failed to load dependencies output contents from /Users/jace/Documents/Titanium Studio Workspace/dogsquare/build/iphone/build/dogsquare.build/Debug-iphonesimulator/dogsquare.build/Objects-normal/i386/main.d''. Error: Error Domain=NSCocoaErrorDomain Code=260 "The file “main.d” couldn’t be opened because there is no such file." UserInfo=0x7fc544f4d8f0 {NSFilePath=/Users/jace/Documents/Titanium Studio Workspace/dogsquare/build/iphone/build/dogsquare.build/Debug-iphonesimulator/dogsquare.build/Objects-normal/i386/main.d, NSUnderlyingError=0x7fc544f4f430 "The operation couldn’t be completed. No such file or directory"}. User info: { [ERROR] : NSFilePath = "/Users/jace/Documents/Titanium Studio Workspace/dogsquare/build/iphone/build/dogsquare.build/Debug-iphonesimulator/dogsquare.build/Objects-normal/i386/main.d"; [ERROR] : NSUnderlyingError = "Error Domain=NSPOSIXErrorDomain Code=2 \"The operation couldn\U2019t be completed. No such file or directory\""; [ERROR] : }. [ERROR] : Function: void XCGccMakefileDependenciesParsePathsFromRuleFile(NSString *__strong, F) [F = <lambda at /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-3564.1/Xcode3Sources/XcodeIDE/Frameworks/DevToolsBase/pbxcore/SpecificationTypes/XCGccMakefileDependencies.m:168:73>] [ERROR] : Thread: <NSThread: 0x7fc544f4a9f0>{name = (null), num = 9} [ERROR] : Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide. [ERROR] : 2014-01-08 12:41:38.969 xcodebuild[4444:1a03] DVTAssertions: Warning in /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-3564.1/Xcode3Sources/XcodeIDE/Frameworks/DevToolsBase/pbxcore/SpecificationTypes/XCGccMakefileDependencies.m:78 [ERROR] : Details: Failed to load dependencies output contents from `/Users/jace/Documents/Titanium Studio Workspace/dogsquare/build/iphone/build/dogsquare.build/Debug-iphonesimulator/dogsquare.build/Objects-normal/i386/AFItemView.d''. Error: Error Domain=NSCocoaErrorDomain Code=260 "The file “AFItemView.d” couldn’t be opened because there is no such file." UserInfo=0x7fc544f5bcc0 {NSFilePath=/Users/jace/Documents/Titanium Studio Workspace/dogsquare/build/iphone/build/dogsquare.build/Debug-iphonesimulator/dogsquare.build/Objects-normal/i386/AFItemView.d, NSUnderlyingError=0x7fc544f4dad0 "The operation couldn’t be completed. No such file or directory"}. User info: { [ERROR] : NSFilePath = "/Users/jace/Documents/Titanium Studio Workspace/dogsquare/build/iphone/build/dogsquare.build/Debug-iphonesimulator/dogsquare.build/Objects-normal/i386/AFItemView.d"; [ERROR] : NSUnderlyingError = "Error Domain=NSPOSIXErrorDomain Code=2 \"The operation couldn\U2019t be completed. No such file or directory\""; [ERROR] : }. [ERROR] : Function: void XCGccMakefileDependenciesParsePathsFromRuleFile(NSString *__strong, F) [F = ] [ERROR] : Thread: {name = (null), num = 7} [ERROR] : Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide. [ERROR] : ** BUILD FAILED ** [ERROR] : The following build commands failed: [ERROR] : CompileC build/dogsquare.build/Debug-iphonesimulator/dogsquare.build/Objects-normal/i386/TiUITableViewAction.o Classes/TiUITableViewAction.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler [ERROR] : CompileC build/dogsquare.build/Debug-iphonesimulator/dogsquare.build/Objects-normal/i386/TiFile.o Classes/TiFile.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler [ERROR] : CompileC build/dogsquare.build/Debug-iphonesimulator/dogsquare.build/Objects-normal/i386/TiMapPinAnnotationView.o Classes/TiMapPinAnnotationView.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler [ERROR] : CompileC build/dogsquare.build/Debug-iphonesimulator/dogsquare.build/Objects-normal/i386/main.o main.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler [ERROR] : CompileC build/dogsquare.build/Debug-iphonesimulator/dogsquare.build/Objects-normal/i386/AFItemView.o Classes/AFOpenFlow/AFItemView.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler [ERROR] : (5 failures)

Comments

  1. Ritu Agrawal 2014-01-10

    We have not been able to reproduce this issue based on the steps provided. Can you please verify your steps to make sure that we are not missing any other step? I would also suggest you to try the same scenario with a simple Xcode project and report the findings.

JSON Source