Coder Social home page Coder Social logo

Comments (5)

ondrejnovotny avatar ondrejnovotny commented on May 29, 2024 2

This problem disappears when you disable

"manifests": {
"token": "$",
"variablePrefix": "Manifest_",
"missingTokensAsErrors": true,
"disable": true
}

from mobile.buildtools.

varyamereon avatar varyamereon commented on May 29, 2024

I was experiencing the same, setting everything I wasn't using explicitly to disabled in buildtools.json enabled me to build again for iOS. Not sure which part exactly was causing the problem, the only feature I am using is "appSettings".

from mobile.buildtools.

carbon-paulc avatar carbon-paulc commented on May 29, 2024

@varyamereon Ditto with the appsettings. Just tried this (well all of the ones that appeared in the automatic file) and it didn't work. Would it be possible to check your buildtools.json file to see if there's anything missing?
My file below if it helps:

{
	"$schema": "https://mobilebuildtools.com/schemas/v2/buildtools.schema.json",
	"appSettings": {
		"Journey": [
			{
				"properties": [
					{
						"name": "ClientId",
						"type": "String"
					},
					{
						"name": "ClientSecret",
						"type": "String"
					}
				]
			}
		]
	},
	"appConfig": {
		"strategy": "TransformOnly",
		"disable": true
	},
	"artifactCopy": {
		"disable": true
	},
	"automaticVersioning": {
		"behavior": "PreferBuildNumber",
		"environment": "All",
		"versionOffset": 0,
		"disable": true
	},
	"css": {
		"minify": false,
		"bundleScss": false,
		"disable": true
	},
	"images": {
		"directories": [],
		"conditionalDirectories": {
			"Debug": [],
			"!Debug": [],
			"iOS": [],
			"Android": []
		},
		"disable": true
	},
	"manifests": {
		"token": "$",
		"variablePrefix": "Manifest_",
		"missingTokensAsErrors": false,
		"disable": true
	},
	"releaseNotes": {
		"maxDays": 7,
		"maxCommit": 10,
		"characterLimit": 250,
		"filename": "ReleaseNotes.txt",
		"createInRoot": false,
		"disable": true
	},
	"environment": {
		"defaults": {},
		"configuration": {
			"Debug": {}
		},
		"disable": true
	},
	"debug": false
}

from mobile.buildtools.

varyamereon avatar varyamereon commented on May 29, 2024

Here is mine:

{
  "$schema": "https://mobilebuildtools.com/schemas/v2/buildtools.schema.json",
  "appConfig": {
    "disable": true
  },
  "artifactCopy": {
    "disable": true
  },
  "automaticVersioning": {
    "behavior": "Off"
  },
  "css": {
    "disable": true
  },
  "images": {
    "disable": true
  },
  "manifests": {
    "disable": true
  },
  "appSettings": {
    "AppName": [
      {
        "accessibility": "Internal",
        "className": "AppSettings",
        "delimiter": ";",
        "namespace": ".",
        "rootNamespace": null,
        "properties": [
          {
             // properties
          }
        ]
      }
    ]
  },
  "releaseNotes": {
    "disable": true
  },
  "debug": false
}

Difference I spotted was I set automatic versioning behavior to off and I don't have a setting for environment.

Hope it helps.

from mobile.buildtools.

carbon-paulc avatar carbon-paulc commented on May 29, 2024

That worked! Tempted to remove bits one by one to see what caused it but thats for another day.

Not surw whether I should close this or leave it as a bug?

from mobile.buildtools.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.