diff options
| author | Teddy Wing | 2016-12-03 04:00:03 -0500 | 
|---|---|---|
| committer | Teddy Wing | 2016-12-03 04:00:03 -0500 | 
| commit | e67e81a0b227e0453310a800cb70fdc147d561aa (patch) | |
| tree | 1bd3bdcd7bebe2590c5151a2c4da26e04862015f /Low Battery Yup.d.xcodeproj | |
| parent | 1715632d3909916805eb59ca7ba37838c70243df (diff) | |
| download | Low-Battery-Yup-e67e81a0b227e0453310a800cb70fdc147d561aa.tar.bz2 | |
Copy MASShortcut.framework to bundle Frameworks/ directory
The framework was getting copied to Resources/, but the app was told to
look for it in Frameworks/, so it was crashing on launch.
Here's the error:
    Dyld Error Message:
      Library not loaded: @executable_path/../Frameworks/MASShortcut.framework/Versions/A/MASShortcut
      Referenced from: /Users/USER/Documents/*/Low Battery Yup.app/Contents/MacOS/Low Battery Yup
      Reason: image not found
Thank goodness for Console and logging and crash logs. Never would have
figured this out otherwise. Worked fine in Debug configuration and when
building for Release in Xcode. Just didn't work in the final archived
app. Works now though, phew!
Diffstat (limited to 'Low Battery Yup.d.xcodeproj')
| -rw-r--r-- | Low Battery Yup.d.xcodeproj/project.pbxproj | 17 | 
1 files changed, 15 insertions, 2 deletions
diff --git a/Low Battery Yup.d.xcodeproj/project.pbxproj b/Low Battery Yup.d.xcodeproj/project.pbxproj index 1e54a44..dfe9a81 100644 --- a/Low Battery Yup.d.xcodeproj/project.pbxproj +++ b/Low Battery Yup.d.xcodeproj/project.pbxproj @@ -7,6 +7,7 @@  	objects = {  /* Begin PBXBuildFile section */ +		D112988B1DF2C0C500EDE056 /* MASShortcut.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = D195AE5A1DDC774300A53A18 /* MASShortcut.framework */; };  		D123F5A81DDF9D2400A27B7A /* DDHotKeyCenter.m in Sources */ = {isa = PBXBuildFile; fileRef = D123F5A71DDF9D2400A27B7A /* DDHotKeyCenter.m */; settings = {COMPILER_FLAGS = "-fobjc-arc"; }; };  		D131EB381DF1E8AB00504A74 /* com.teddywing.Low-Battery-Yup.StartAtLogin.plist in Resources */ = {isa = PBXBuildFile; fileRef = D131EB371DF1E8AB00504A74 /* com.teddywing.Low-Battery-Yup.StartAtLogin.plist */; };  		D131EB4B1DF203CD00504A74 /* Low Battery Yup.d.app in Resources */ = {isa = PBXBuildFile; fileRef = D18C949E1DDC33CF00E03F87 /* Low Battery Yup.d.app */; }; @@ -23,7 +24,6 @@  		D18C94B61DDC33CF00E03F87 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = D18C94B51DDC33CF00E03F87 /* AppDelegate.m */; };  		D18C94C51DDC355400E03F87 /* Mouse.m in Sources */ = {isa = PBXBuildFile; fileRef = D18C94C41DDC355400E03F87 /* Mouse.m */; };  		D195AE5F1DDC776000A53A18 /* MASShortcut.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D195AE5A1DDC774300A53A18 /* MASShortcut.framework */; }; -		D195AE601DDC776F00A53A18 /* MASShortcut.framework in Resources */ = {isa = PBXBuildFile; fileRef = D195AE5A1DDC774300A53A18 /* MASShortcut.framework */; };  		D19DF20F1DF1AD3D0094C50F /* LaunchAgentManager.m in Sources */ = {isa = PBXBuildFile; fileRef = D19DF20E1DF1AD3D0094C50F /* LaunchAgentManager.m */; };  		D19DF2121DF1AD480094C50F /* DaemonLauncher.m in Sources */ = {isa = PBXBuildFile; fileRef = D19DF2111DF1AD480094C50F /* DaemonLauncher.m */; };  		D1A37AEE1DE0012C0022434D /* Carbon.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D1A37AED1DE0012C0022434D /* Carbon.framework */; }; @@ -67,6 +67,19 @@  		};  /* End PBXContainerItemProxy section */ +/* Begin PBXCopyFilesBuildPhase section */ +		D112988A1DF2C0AD00EDE056 /* CopyFiles */ = { +			isa = PBXCopyFilesBuildPhase; +			buildActionMask = 2147483647; +			dstPath = ""; +			dstSubfolderSpec = 10; +			files = ( +				D112988B1DF2C0C500EDE056 /* MASShortcut.framework in CopyFiles */, +			); +			runOnlyForDeploymentPostprocessing = 0; +		}; +/* End PBXCopyFilesBuildPhase section */ +  /* Begin PBXFileReference section */  		D123F5A61DDF9D2400A27B7A /* DDHotKeyCenter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = DDHotKeyCenter.h; path = DDHotKey/DDHotKeyCenter.h; sourceTree = "<group>"; };  		D123F5A71DDF9D2400A27B7A /* DDHotKeyCenter.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = DDHotKeyCenter.m; path = DDHotKey/DDHotKeyCenter.m; sourceTree = "<group>"; }; @@ -281,6 +294,7 @@  				D1F809DB1DDC6AA0001671E9 /* Sources */,  				D1F809DC1DDC6AA0001671E9 /* Frameworks */,  				D1F809DD1DDC6AA0001671E9 /* Resources */, +				D112988A1DF2C0AD00EDE056 /* CopyFiles */,  			);  			buildRules = (  			); @@ -373,7 +387,6 @@  				D1F809E71DDC6AA0001671E9 /* InfoPlist.strings in Resources */,  				D1F809ED1DDC6AA0001671E9 /* Credits.rtf in Resources */,  				D1F809F31DDC6AA0001671E9 /* MainMenu.xib in Resources */, -				D195AE601DDC776F00A53A18 /* MASShortcut.framework in Resources */,  				D131EB381DF1E8AB00504A74 /* com.teddywing.Low-Battery-Yup.StartAtLogin.plist in Resources */,  			);  			runOnlyForDeploymentPostprocessing = 0;  | 
