I just downloaded these facebook bindings : https://github.com/mono/monotouch-bindings/tree/master/facebook
I use "make" command from facebook/binding/ directory but i can't build Facebook.dll.Here is the error:
Project "/Users/abc/facebook/binding/MonoTouch.FacebookConnect.csproj" (default target(s)): Target _AssignBundleResourceNames: /Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Xamarin.ObjcBinding.Common.targets: error : Error executing task AssignBundleResourceNames: Invalid reserved metadata name Task "AssignBundleResourceNames" execution -- FAILED Done building target "_AssignBundleResourceNames" in project "/Users/abc/facebook/binding/MonoTouch.FacebookConnect.csproj".-- FAILED Done building project "/Users/abc/facebook/binding/MonoTouch.FacebookConnect.csproj".-- FAILED
Build FAILED. Errors:
/Users/abc/facebook/binding/MonoTouch.FacebookConnect.csproj (default targets) -> /Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Xamarin.ObjcBinding.Common.targets (_AssignBundleResourceNames target) ->
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Xamarin.ObjcBinding.Common.targets: error : Error executing task AssignBundleResourceNames: Invalid reserved metadata name
Related
Error details below
Execution optimizations have been disabled for task ':app:compressDevelopmentDebugAssets' to ensure correctness due to the following reasons:
- Gradle detected a problem with the following location: 'C:\Users\LAP\Documents\myapp\build\app\intermediates\merged_assets\developmentDebug\out'. Reason: Task ':app:compressDevelopmentDebugAssets' uses this output of task ':app:copyFlutterAssetsDevelopmentDebug' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.4/userguide/validation_problems.html#implicit_dependency for more details about this problem.
> Task :app:compressDevelopmentDebugAssets FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:compressDevelopmentDebugAssets'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.CompressAssetsWorkAction
> java.lang.OutOfMemoryError (no error message)
I have already added below in my build.gradle
dexOptions {
javaMaxHeapSize "4G"
}
End goal is to be able to run the integration tests I have on firebase test lab
Following this doc steps been shared on firebase
https://github.com/flutter/flutter/tree/main/packages/integration_test#android-device-testing
I have a swift package manager project and I am trying to run unit tests with Fastlane on GitHub actions.
My fastfile looks like
desc('Unit test with spm')
lane :spm_test do
scan(
workspace: ".swiftpm/xcode/package.xcworkspace",
package_path: ".",
device: "iPhone 11",
scheme: SCHEME,
clean: false,
code_coverage: true,
derived_data_path: ".build"
)
end
But time to time I am getting this error,
error: Could not compute signing task inputs - operation was cancelled. (in target 'Scheme_Scheme' from project 'Scheme') - same for multiple dependencies and test target then finally
Testing failed:
Could not compute signing task inputs - operation was cancelled.
Testing cancelled because the build failed.
Last part of build log
3499 ▸ Build Succeeded
3500 2022-04-08 10:53:25.292 xcodebuild[2468:12022] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-19466/IDEFoundation/Execution/RunContextManager/IDERunContextManager.m:823
3501 Details: Error deleting scheme: Cannot modify data because the process disallows saving.
3502 Object: <IDERunContextManager: 0x7fdaacb72e50>
3503 Method: -deleteRunContexts:completionQueue:completionBlock:
3504 Thread: <NSThread: 0x7fdaa97170e0>{number = 1, name = main}
3505 Please file a bug at https://feedbackassistant.apple.com with this warning message and any useful information you can provide.
3506 2022-04-08 10:53:25.293 xcodebuild[2468:12022] could not delete old scheme: Error Domain=DVTCustomDataStoringErrors Code=0 "Cannot modify data because the process disallows saving." UserInfo={NSLocalizedDescription=Cannot modify data because the process disallows saving.}
3507
3508 ❌ error: Could not compute signing task inputs - operation was cancelled. (in target 'MyProjectDependency_MyProjectDependency' from project 'MyProjectDependency')
3509
3510
3511
3512 ❌ error: Could not compute signing task inputs - operation was cancelled. (in target 'MyProject_MyProject' from project 'MyProject')
3513
3514
3515
3516 ❌ error: Could not compute signing task inputs - operation was cancelled. (in target 'MyProjectTests' from project 'MyProject')
3517
3518
3519
3520 ❌ error: Could not compute signing task inputs - operation was cancelled. (in target 'MyProject_MyProjectTests' from project 'MyProject')
3521
3522
3523 Testing failed:
3524 Could not compute signing task inputs - operation was cancelled.
3525 Testing cancelled because the build failed.
3526
3527 ** TEST FAILED **
This is running perfectly when I run on my local machine. I have another set of tests that uses a normal Xcode project(not SPM) that also works fine.
What could be the reason for this error and how can I fix it?
UPD: This is happening only with Xcode 13.x, Xcode 12.x is working fine.
Execution failed for task ':app:processDebugGoogleServices'.
No matching client found for package name 'com.example.shopapp_tut'
Failed to deploy web package to IIS website.
Error: An error was encountered when processing operation 'Create File' on D:\Websites\project\project.pdb.
Error: The error code was 0x800704C8. Error: The requested operation
cannot be performed on a file with a user- mapped section open.
I have tried to add this
MSDEPLOY_RENAME_LOCKED_FILES = 1 on variables
I am trying to deploy my first "hello-world"-portlet for Liferay
but I get a "BUILD FAILED" when deploying it.
My folders look like this:
D:\[Code Home]\bundles\liferay-portal-6.2-ce-ga2
and
D:\[Code Home]\plugins\liferay-plugins-sdk-6.2\portlets
My build.[username].properties file contains this:
app.server.portal.dir = D:\\[Code Home]\\bundles\\liferay-portal-6.2-ce-ga2\\tomcat- 7.0.42\\webapps\\ROOT
app.server.lib.global.dir = D:\\[Code Home]\\bundles\\liferay-portal-6.2-ce-ga2\\lib\\ext
app.server.deploy.dir = D:\\[Code Home]\\bundles\\liferay-portal-6.2-ce-ga2\\tomcat-7.0.42\\webapps
app.server.type = tomcat
app.server.dir = D:\\[Code Home]\\bundles\\liferay-portal-6.2-ce-ga2\\tomcat-7.0.42
When deploying the portlet I get this:
D:\[Code Home]\plugins\liferay-plugins-sdk-6.2\portlets>ant deploy
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; sup
port was removed in 8.0
Buildfile: D:\[Code Home]\plugins\liferay-plugins-sdk-6.2\portlets\build.xml
deploy:
BUILD FAILED
D:\[Code Home]\plugins\liferay-plugins-sdk-6.2\build-common-plugins.xml:57: The
following error occurred while executing this line:
D:\[Code Home]\plugins\liferay-plugins-sdk-6.2\build-common.xml:1387: The follow
ing error occurred while executing this line:
D:\[Code Home]\plugins\liferay-plugins-sdk-6.2\build-common.xml:1392: The follow
ing error occurred while executing this line:
D:\[Code Home]\plugins\liferay-plugins-sdk-6.2\build-common.xml:235: The followi
ng error occurred while executing this line:
D:\[Code Home]\plugins\liferay-plugins-sdk-6.2\build-common.xml:993: The followi
ng error occurred while executing this line:
D:\[Code Home]\plugins\liferay-plugins-sdk-6.2\build-common.xml:299: The followi
ng error occurred while executing this line:
D:\[Code Home]\plugins\liferay-plugins-sdk-6.2\build-common.xml:1766: The follow
ing error occurred while executing this line:
D:\[Code Home]\plugins\liferay-plugins-sdk-6.2\build-common.xml:175: D:\[Code Ho
me]\bundles\liferay-portal-6.2-ce-ga2\lib\ext does not exist.
Total time: 0 seconds
D:\[Code Home]\plugins\liferay-plugins-sdk-6.2\portlets>
any idea where the problem is?
Seems you are missing auto.deploy.dir value.
Here is my build.properties values.
app.server.type=tomcat
app.server.parent.dir=/home/maleen/workspace/liferay
app.server.tomcat.dir=${app.server.parent.dir}/tomcat-7.0.40
app.server.tomcat.deploy.dir=${app.server.tomcat.dir}/webapps
app.server.tomcat.lib.global.dir=${app.server.tomcat.dir}/lib/ext
app.server.tomcat.portal.dir=${app.server.tomcat.dir}/webapps/ROOT
auto.deploy.dir=${app.server.parent.dir}/deploy
Hope this helps.
The error message says
D:\[Code Home]\bundles\liferay-portal-6.2-ce-ga2\lib\ext does not exist.
Does it? If not: You need to either create it (e.g. unzip a bundle at that location) or configure your build.username.properties - what's this?
Look at build.properties - you'll find many values configured in there. Just like with other property files in Liferay, you should identify the value that you want to change from the default, create a file named build.username.properties (replace with your actual username) and override the value that you'd like to change - e.g. app.server.parent.dir is a good candidate to point to your unzipped bundle.
Note that Java8 is not yet officially supported by Liferay: This is a portal that runs on so many existing application server that it's a bit slower in adopting new environments. That's not to say that it won't work - only if you run into Java8 related problems, you might want to try Java7, and be slow to adopt the new features so that you can easily backport.